- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 13:00:35 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-ui][selectors][mediaqueries] Expose current scrolling direction`, and agreed to the following: * `RESOLVED: Add scrolling direction to scroll-state queries, with the initial syntax in the explainer but issues open for bikeshedding` <details><summary>The full IRC log of that discussion</summary> <emilio> astearns: we resolved to work on this, and then you moonira added it to the agenda<br> <emilio> moonira: main questions that were raised last time, what kind programmatic scrolls should affect these<br> <emilio> ... also the other question for relative / absolute scrolls we just discussed<br> <emilio> ... proposal is to solve these by adding direction state to scroll-state container query<br> <emilio> ... syntax is similar to scroll-state<br> <emilio> ... you can find the explainer<br> <emilio> ... active scrolling would be a separate future consideration<br> <emilio> q+<br> <emilio> ... any suggestions / questions?<br> <astearns> ack emilio<br> <ydaniv> emilio: I think in general sounds good<br> <ydaniv> ... wondering, what happens if you have someting scrollable or not based on direction?<br> <noamr> q+<br> <ydaniv> ... wondering whether it would make sense to store the scroll direction as part of the element, and not making associated as a scrolling box<br> <ydaniv> ... depending on whether it's a scroll container or not<br> <flackr> q+<br> <ydaniv> ... I think you can argue both ways<br> <ydaniv> noamr: I think there's a similar issue in CQs<br> <ydaniv> ... the circular thing<br> <ydaniv> kizu: you can change the size of your inner element that's styled<br> <ydaniv> andruud: you can through scroll timelines change someting that changes it<br> <ydaniv> ... I was thinking it's similar, we can solve this similarly<br> <ydaniv> ... we have stuck, that has the same problem<br> <ydaniv> emilio: we have the stuck query that get stuck with the moving thing<br> <flackr> q-<br> <futhark> q+<br> <ydaniv> ... using the same mechanism makes sense to me<br> <ydaniv> andruud: I think it's in the explainer<br> <noamr> q-<br> <astearns> ack futhark<br> <emilio> futhark: sorry was out for a bit, but wanted to respond to the post-layout snapshotting<br> <astearns> https://github.com/w3c/csswg-drafts/blob/main/css-conditional-5/scroll_state_explainer.md<br> <ydaniv> emilio: quetion was whether this part was part of the element itself or not<br> <ydaniv> ... andruud convinced me that it's same as the stuck thing<br> <emilio> futhark: so it depends on container-type<br> <moonira> http://github.com/w3c/csswg-drafts/blob/main/css-conditional-5/scroll_state_explainer.md<br> <emilio> andruud: but where's the last scroll direction stored<br> <emilio> futhark: I'd assume the post layout snapshotting mechanism?<br> <emilio> emilio: we should really define that properly<br> <emilio> futhark: yeah the HTML integration is missing, working on the implementation of that atm<br> <noamr> q+<br> <astearns> ack noamr<br> <emilio> ... will discuss where to put it in the html<br> <emilio> noamr: direction is unclear, is it scrolling direction or the scrollable direction?<br> <emilio> ... I'd use towards / along to distinguish these?<br> <emilio> ... something that clarifies what the value means?<br> <emilio> astearns: this is about scrolling towards<br> <emilio> emilio: do we support scrolling-along direction?<br> <emilio> noamr: yeah in the spec it's part of the same query<br> <emilio> emilio: yeah that's confusing<br> <ntim> +1 to noamr<br> <emilio> emilio: scrollable-direction vs. scrolling-direction maybe?<br> <emilio> ... but extra identifier also works I guess<br> <ydaniv> +1 to emilio<br> <ntim> q+<br> <astearns> ack ntim<br> <emilio> astearns: so everybody is good with adding scrolling direction?<br> <emilio> ntim: I'd like smfr to be here<br> <emilio> ... some questions about content changes<br> <emilio> emilio: I think same answer that my question<br> <emilio> flackr: yeah that came up in the last f2f<br> <emilio> ntim: other question was about rubber-banding, probably shouldn't be exposed<br> <emilio> flackr: agreed. Rubber banding in chrome doesn't change scroll offset but probably it shouldn't change the scroll direction even if it did<br> <ntim> scroll-state(direction: ...) / scroll-state(allowed: ) ?<br> <emilio> PROPOSAL: Add scrolling direction to scroll-state queries, with the initial syntax in the explainer but issues open for bikeshedding<br> <emilio> ntim: would like smfr to review<br> <emilio> astearns: fine taking the resolution?<br> <emilio> emilio: impl is the same as stuck and so on<br> <emilio> ntim: fine to resolve then<br> <emilio> RESOLVED: Add scrolling direction to scroll-state queries, with the initial syntax in the explainer but issues open for bikeshedding<br> <emilio> astearns: re programmatic scroll are we set with the previous issue?<br> <emilio> moonira: yes<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6400#issuecomment-3200664309 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 13:00:36 UTC