Closed fantasai closed 1 day ago
If the question is, "can I scroll in this direction", perhaps a better name would be
scrollable
?
Yes, I agree that scrollable
would be a better name.
"can I scroll in this direction"
This is indeed easier to understand and fits the perception of CSS authors.
To accommodate more common scenarios, I've also come up with a new syntax: scroll-state(scroll-to)
The CSS Working Group just discussed [css-conditional-5] scroll-state(overflowing) is confusing because it ignores clipped overflowing content
, and agreed to the following:
RESOLVED: Rename "overflowing" to "scrollable"
The
overflowing
scroll state query, whose values arenone | top | right | bottom | left | block-start | inline-start | block-end | inline-end
, is described asBut colloquially, content that overflows and is clipped is still considered overflowing.
If the question is, "can I scroll in this direction", perhaps a better name would be
scrollable
?