Re: [csswg-drafts] [css-selectors] Proposal: "Middle Out" sibling selectors (#8483)

Note that `a.active:nth-prev-sibling(1)` matches a subset of `a.active`, so presumably it would be equivalent to `a.active:has(+ *)`. 1 element before `a.active` could be `:nth-prev-sibling(1 of a.active)` (but then the meaning of the selector argument is different than in `:nth-child`, the full functionality would maybe need two selectors?)

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


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

Received on Thursday, 23 February 2023 14:24:42 UTC