Re: [csswg-drafts] [selectors] Postcede selector (#1705)

My syntax suggestion would be `-+` as previous sibling combinator and `-~` as precedent sibling combinator. So, `input -+ label` selects all `<label>` elements that are followed by an `<input>` element. `.class1 -~ .class2` selects all elements that have a class `class2` that have a subsequent sibling with a class `class1`.

Sebastian

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


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

Received on Friday, 17 December 2021 12:16:22 UTC