- From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
- Date: Mon, 21 Jun 2021 18:50:04 +0000
- To: public-css-archive@w3.org
Because we do have both physical and logical dimensions to deal with in these scenarios, I wonder if it's worth recommending this as a functional pseudo-class that takes a direction/state of the scrolling element as a parameter? - `body:scrolling(bottom)` _currently being scrolled toward bottom edge_ - `body:scrolling(inline-start)` _currently being scrolled toward inline-start edge_ - `body:scrolling` _currently being scrolled in any direction_ I've found myself disabling `:hover`,`:active`, and even animation stylings depending on the user currently scrolling. The last example could help in these cases. In general, I do wonder about *some* circularity when this pseudo class matches and then layout/flow changes so the scrollHeight/scrollWidth is changed in a way where the browser must manipulate the scroll position and now the pseudo class wouldn't match? -- GitHub Notification of comment by jonjohnjohnson Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6400#issuecomment-865264606 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 21 June 2021 18:51:44 UTC