- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 22 Nov 2024 19:35:11 +0000
- To: public-css-archive@w3.org
I do not think `scroll-to` reads well here. The use of `scroll` reads as a verb, like it's an action that either *causes* something to be scrolled to the side or triggers *when* the user scrolls to the side; it doesn't read like "this is scrolled all the way to that side", as you intended. You'd need `scrolled-to` to indicate that, I think. In general, we don't like adding simple sugar aliases like this without a really good justification. I don't think `not scroll-state(scrollable: right)` is significantly worse than `scroll-state(scrolled-to: right)`. I'm also not sure how this sugar would address the problem you brought up in the original post, which is that if you use this to trigger an animation when it hits the edge, it'll play on page load as well (for the edge that it's originally scrolled to). That still happens if we're just adding sugar. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11191#issuecomment-2494646542 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 22 November 2024 19:35:12 UTC