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

Strong agree; the CSSOM serialization rules are *broken as hell*, and were written under the assumption that any sort of nesting didn't exist. Since it now *does* exist in many forms, it needs a dramatic rewrite that actually creates newlines and indents properly.

The only issue will be making sure some of the weird corner behaviors for non-nested cases aren't requried for compat, but I think we can deal with those as we run into them.

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


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

Received on Friday, 23 January 2026 23:31:12 UTC