Nothing Special   »   [go: up one dir, main page]

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

The CSS Working Group just discussed `[css-nesting] Define how relative selectors serialize.`.

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> fantasai: I think the second reoslution was about styles directly in a media rule?<br>
&lt;fantasai> TabAtkins: For conditional rules that contain declarations<br>
&lt;TabAtkins> TabAtkins: It's about `.foo { @media (...) { display: block; } }`<br>
&lt;TabAtkins> TabAtkins: the reoslution says this'll serialize with a `&amp; { display: block; }` inside the media<br>
&lt;fantasai> fantasai: But doesn't apply to nested rules, right?<br>
&lt;TabAtkins> TabAtkins: Correct, it doesn't, just to non-style rules<br>
&lt;emilio> s/nested rules/nested style rules<br>
&lt;fantasai> fantasai: Concerned about consistency with nested rules<br>
&lt;fantasai> TabAtkins: this makes the serialization match the OM<br>
&lt;TabAtkins> emilio: Yes, also it makes the cssText valid regardless of nesting status<br>
&lt;TabAtkins> emilio: direct properties dont' parse when the @media isn't nested<br>
&lt;TabAtkins> (well, it parses, but they're discarded)<br>
&lt;TabAtkins> fantasai: makes sense, thanks<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-1632847579 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:23:45 UTC