- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Jul 2023 16:09:57 +0000
- To: public-css-archive@w3.org
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> <TabAtkins> emilio: Our impl does something different from wk/blink<br> <TabAtkins> emilio: I prefer ours<br> <TabAtkins> emilio: blink/wk serialize relative selectors as written<br> <TabAtkins> emilio: [missed example]<br> <TabAtkins> emilio: In firefox we add the nesting selector at parse time, so we serialize it as well<br> <astearns> example in issue<br> <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> <TabAtkins> emilio: which I think is a nice property to have - you can set selectorText to that of another rule regardless<br> <TabAtkins> I'm happy to specify firefox's behavior, fwiw<br> <fantasai> +1 for consistent output<br> <TabAtkins> emilio: this should probably also apply to the implicit style rule we add when we define nested properties in a grouping rule<br> <TabAtkins> +1<br> <TabAtkins> astearns: concerns?<br> <TabAtkins> [none]<br> <TabAtkins> proposed resolution: nested relative selectors serialize with the implicit nesting selector<br> <TabAtkins> proposed resolution: and styles in grouping rules serialize with the implied rule around them<br> <fantasai> +1<br> <TabAtkins> RESOLVED: Nested relative selectors serialize with the (implied) nesting selector<br> <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