Re: [csswg-drafts] [css-ui][selectors][mediaqueries] Expose current scrolling direction (#6400)

Current set of `scroll-state()` queries, for reference: https://drafts.csswg.org/css-conditional-5/#scroll-state-container

If we add this I think we should just call it `scrolling`, like @mirisuzanne suggested. The other names so far don't imply that it's actively happening. We can pick values that work with that, e.g. `x-forward`, `x-backward`, `y-forward`, `y-backward`, `inline-forward`, `inline-backward`, `left`, `right`, `up`, `down`

My understanding was that `none` applies when there isn't an active scroll operation.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6400#issuecomment-2878115011 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 13 May 2025 22:37:57 UTC