- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Sep 2022 21:33:28 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Proximity of siblings`, and agreed to the following: * `RESOLVED: ~~ is a sibling combinator that prefers closer siblings` <details><summary>The full IRC log of that discussion</summary> <emilio> topic: Proximity of siblings<br> <emilio> github: https://github.com/w3c/csswg-drafts/issues/7233<br> <emilio> miriam: original request framed it as sibling scopes<br> <emilio> ... but when we dug they cared about proximity of siblings in the cascade<br> <emilio> ... we have this for descendants where proximity affects the weight in the cascade<br> <emilio> ... this wanted to account for siblings<br> <emilio> ... seems we could do something like that with different syntax<br> <emilio> TabAtkins: I don't think how we'd account for this in `@scope`<br> <zcorpan> h1 ~~ p or h1 ++ p<br> <emilio> s/think/know<br> <emilio> TabAtkins: but the use case is great and the combinator syntax is great<br> <emilio> ... doesn't matter which syntax<br> <emilio> zcorpan: proposal are ~~ or ++<br> <emilio> q+<br> <ydaniv> +1 for snakes<br> <tantek> +1 for snakes<br> <emilio> TabAtkins: I don't care about which one but we should make it work in @scope<br> <heycam> emilio: I argue for snakes<br> <tantek> since ++ already means something in other languages :)<br> <Rossen_> ack emilio<br> <fantasai> +1 tantek<br> <heycam> emilio: snake already involves all the siblings<br> <heycam> ... while plus doesn't<br> <fantasai> s/+1 tantek/tantek++/<br> <heycam> ... so it feels more logical<br> <zcorpan> mushroom ~~ muchroom<br> <emilio> TabAtkins: Currently child one is based on child rather than descendant combo, so would be more consistent with +<br> <emilio> fantasai: I agree with tab that ++ is more analogous but I also prefer the snakes<br> <zcorpan> 🐍<br> <fantasai> Rossen_: Imagine you're on a plane...<br> <TabAtkins> Hm, thinking using `to sibling` keyword in @scope would work<br> <emilio> miriam: proposal is adding ~~ as a sibling combinator that prefers closer siblings<br> <heycam> emilio: after Tab's argument I prefer the pluses, but I don't mind either way<br> <emilio> RESOLVED: ~~ is a sibling combinator that prefers closer siblings<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7233#issuecomment-1248655289 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 September 2022 21:33:30 UTC