- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 12:42:44 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[cssom-view-1] Differentiate programmatic directional scrolls from absolute scrolls`, and agreed to the following: * `RESOLVED: Accept the distinction between relative / absolute / stationary scrolls with details to be reviewed` <details><summary>The full IRC log of that discussion</summary> <emilio> scribe+<br> <emilio> flackr: the CSSOM-view spec doesn't distinguish scrollTo / scrollBy<br> <emilio> ... however the terms imply that some of them are relative and some absolute<br> <emilio> ... I think we should encode this in the spec meaningfully<br> <emilio> q+<br> <emilio> ... it applies to several scrolling-related actions<br> <emilio> ... e.g. the way scroll-snap selects snap points depends on the current scroll direction<br> <emilio> ... while if you have an absolute scroll you can just select the closest snap point<br> <emilio> ... there's also scroll anchoring<br> <emilio> ... which isn't scrolling from the user's POV<br> <emilio> ... I called that a "stationary scroll"<br> <emilio> ... it wouldn't interrupt ongoing fling operation<br> <emilio> ... doesn't change the last scroll direction for the proposed scroll-state query either<br> <emilio> ... high level point is that we have these three conceptual types of scroll<br> <emilio> ... and we should define them properly rather than making each spec work around it like snap<br> <emilio> e.g. scrollBy won't scroll backwards if you have a fling<br> <emilio> astearns: is this a normative spec change?<br> <emilio> flackr: there are a few differences<br> <emilio> e.g. scrollBy might behave differently if you have a fling that's past the target<br> <emilio> ... right now it can scroll backwards<br> <emilio> ... Are the user facing changes known?<br> <emilio> s/.../astearns<br> <emilio> flackr: I suspect some of them will be discovered<br> <emilio> ... I don't expect this to affect most pages<br> <emilio> ... bigger change is scroll state queries<br> <emilio> ... it didn't feel like last scroll direction should be affected by scroll anchoring<br> <emilio> ... I'd argue absolute scrolls shouldn't either<br> <astearns> ack emilio<br> <ydaniv> scribe+<br> <ydaniv> emilio: in general big +1<br> <emilio> Gecko has https://searchfox.org/mozilla-central/rev/270c20e4b063d80ce71f029b4adc4ba03a12edc0/layout/generic/ScrollOrigin.h#15<br> <ydaniv> ... this scroll origin enum to distinguish stuff<br> <ydaniv> ... I'd argue that some of the absolute scorll that we want to change<br> <ydaniv> ... implement using absolute scrolling<br> <ydaniv> flackr: my argument is that use of scroll is absolute behavior, they should use the scrollBy API<br> <ydaniv> emilio: OK, agree<br> <ydaniv> ... there's also scroll position restoration, to we want to treat that the same?<br> <ydaniv> flackr: yeah<br> <ydaniv> emilio: wonder if those should be grouped the same<br> <ydaniv> ... it's restoring your last visible position<br> <ydaniv> ... these APIs already behave differently<br> <ydaniv> ... with smooth scroll it won't jump etc.<br> <ydaniv> ... not important in the spec, but sounds great<br> <ydaniv> astearns: other comments?<br> <emilio> s/important/encoded<br> <emilio> astearns: I'd like a report of the implications you've found<br> <emilio> ... as in here's what has been defined in the spec<br> <emilio> ... so they can be reviewed<br> <emilio> ... so proposed resolution is yes, with some of the details TBD<br> <emilio> RESOLVED: Accept the distinction between relative / absolute / stationary scrolls with details to be reviewed<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12394#issuecomment-3200604694 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 August 2025 12:42:45 UTC