Re: [csswg-drafts] [css-nesting] Define how relative selectors serialize. (#8970)

The CSS Working Group just discussed `[css-nesting] Define how relative selectors serialize.`, and agreed to the following:

* `RESOLVED: Nested relative selectors serialize with the (implied) nesting selector`
* `RESOLVED: Grouping rules with direct styles serialize them with the (implied) style rule around them.`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> emilio: Our impl does something different from wk/blink<br>
&lt;TabAtkins> emilio: I prefer ours<br>
&lt;TabAtkins> emilio: blink/wk serialize relative selectors as written<br>
&lt;TabAtkins> emilio: [missed example]<br>
&lt;TabAtkins> emilio: In firefox we add the nesting selector at parse time, so we serialize it as well<br>
&lt;astearns> example in issue<br>
&lt;TabAtkins> emilio: the spec isn't clear. i have a slight preference for firefox, because selectorText works regardless of whether your'e nesting or not<br>
&lt;TabAtkins> emilio: which I think is a nice property to have - you can set selectorText to that of another rule regardless<br>
&lt;TabAtkins> I'm happy to specify firefox's behavior, fwiw<br>
&lt;fantasai> +1 for consistent output<br>
&lt;TabAtkins> emilio: this should probably also apply to the implicit style rule we add when we define nested properties in a grouping rule<br>
&lt;TabAtkins> +1<br>
&lt;TabAtkins> astearns: concerns?<br>
&lt;TabAtkins> [none]<br>
&lt;TabAtkins> proposed resolution: nested relative selectors serialize with the implicit nesting selector<br>
&lt;TabAtkins> proposed resolution: and styles in grouping rules serialize with the implied rule around them<br>
&lt;fantasai> +1<br>
&lt;TabAtkins> RESOLVED: Nested relative selectors serialize with the (implied) nesting selector<br>
&lt;TabAtkins> RESOLVED: Grouping rules with direct styles serialize them with the (implied) style rule around them.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8970#issuecomment-1632822196 using your GitHub account


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

Received on Wednesday, 12 July 2023 16:09:59 UTC