Re: [csswg-drafts] [cssom] Should new rules serialize fully on a single line? (#12959)

The CSS Working Group just discussed `[cssom] Should new rules serialize fully on a single line?`, and agreed to the following:

* `RESOLVED: we will  specify serialization to be nesting-aware and see what breaks`

<details><summary>The full IRC log of that discussion</summary>
&lt;ydaniv> emilio: In general I agree with TabAtkins here<br>
&lt;ydaniv> ... there are 2 options: 1. improve spec, there are wierd compat issues<br>
&lt;ydaniv> ... [missed second]<br>
&lt;ydaniv> ... for non-nested CSS stuff, I'm ok trying to fix serialization rules, would like some commitement from other vendors<br>
&lt;SebastianZ> q+<br>
&lt;ydaniv> astearns: so I think you're saying we should write the serialization rules for all cases, but that there are cases we can't yet?<br>
&lt;ydaniv> emilio: I'd like to make the serialization reasonable, using space indentation we should be able to do that<br>
&lt;ydaniv> ... in practive it's plumbing etc.<br>
&lt;ydaniv> s/practive/practice/<br>
&lt;ydaniv> emilio: I'm happy with making serialization nesting/indenting aware<br>
&lt;ydaniv> fantasai: I suspect we would be supportive, in theory<br>
&lt;astearns> ack SebastianZ<br>
&lt;ydaniv> SebastianZ: not that much into serialization of rules, but guess we should collect more data to be able to know which way to go forward<br>
&lt;ydaniv> emilio: some of it is collecting data, and others depend on impl. and see what breaks<br>
&lt;ydaniv> SebastianZ: question is whether ppl depend on how media rules are serializaed, and whether they depend on line breaks and indentation<br>
&lt;ydaniv> emilio: I'm willing to try and see what breaks, but would be nice to know whether someone/no one is going to implement this<br>
&lt;ydaniv> astearns: fantasai can you follow up?<br>
&lt;ydaniv> fantasai: yes<br>
&lt;smfr> I'm here but don't have an opinion<br>
&lt;ydaniv> dbaron: don't really have an opinion on this<br>
&lt;fantasai> Matthieu sees no reason to not change, other than compat<br>
&lt;ydaniv> PROPOSED RESOLUTION: we will  specify serialization to be nesting-aware<br>
&lt;ydaniv> PROPOSED RESOLUTION: we will  specify serialization to be nesting-aware and see what breaks<br>
&lt;ydaniv> astearns: TabAtkins your opinion?<br>
&lt;ydaniv> TabAtkins: no objections<br>
&lt;ydaniv> RESOLVED: we will  specify serialization to be nesting-aware and see what breaks<br>
</details>


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


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

Received on Wednesday, 11 February 2026 16:26:05 UTC