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

To handle that case it could be defined that the layout depending selector excludes the element from being the subject. In other words, `.foo:stuck + .bar <+ .foo` or `input:stuck + label /for/ input` would not match the stuck elements.

Sebastian

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


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

Received on Sunday, 21 March 2021 20:12:00 UTC