Re: [csswg-drafts] [css-selectors] Proposal for allowing selectors that depend on layout (:stuck, :snap, :on-screen, etc) (#5979)

> @lilles What is the status of your state queries explainer/proposal and prototype? Is that something we could try to get agreement on, and begin to specify?

Yes, we resolved to create css-contain-4 and add scroll-state(), so we can start. I've just been very busy with anchor pos the last months. My next step is to finish the 'snapped' prototype.

> (I am querying the status of a state query)

After the resolution in https://github.com/w3c/csswg-drafts/issues/6402#issuecomment-1812973013 I moved the explainer to and renamed the function to scroll-state().

Reducing container-type to a single one (scroll-state) was discussed, but not resolved. But since I changed it in the prototype I should reflect that in the explainer.

> It would be great to get these behind a UI flag, for author testing.

Sticky queries are enabled if you enable chrome://flags/#enable-experimental-web-platform-features


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


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

Received on Friday, 19 April 2024 13:30:00 UTC