[cssom-view] Define steps / an algorithm perform a scroll in a given direction without an explicit position · Issue #2323 · w3c/csswg-drafts (original) (raw)

While trying to define (in a part of https://wicg.github.io/spatial-navigation/ that will become a Pull Requestion against UI-Events when it matures) what happens when you press keys, and more specifically arrow keys, I've found myself wanting to refer to an algorithm that defines how to perform a scroll in a given direction without an explicit position. I thought I'd find it in CSSOM-View, but it wasn't there.

For now, I've rolled my own, but this feels like it does belong in CSSOM-VIEW.