Open frivoal opened 6 years ago
It seems to describe the state whether an element e can be scrolled or not. I wonder what terminology we could define to catch the state of an element in the CSS context. Using JS, we could simply get the state of an element to check that the element can be scrolled or not through some manual operation. If we can define the state in CSS, which use cases we could use the information for?
The Working Group just discussed Status Update on work in WICG & Demo
.
In https://wicg.github.io/spatial-navigation, I've found myself wanting to refer to a scroll-able thing that isn't already scrolled to the maximum. (and in my case, I only cared about manually scrollable things, not things that can be scolled only by script, like
overflow:hidden
)For now, I've rolled my own definition (see below), but this should be in a css spec somewhere. Maybe this is CSSOM-View. Maybe there should be a new CSS spec that deals with the general processing model for scrolling, to which various bits of CSSOM-View and CSS-scrollsnap could refer to (and/or be moved to).