Re: [csswg-drafts] [cssom-1] Append only one newline in @media rule block (#13386)

While you're right this needs fixing, this particular fix breaks serilaization of non-empty rules, as it will put the `}` on the same line as the last declaration.

What needs to happen instead is the final newline should be moved into the step that serializes the contents and made dependent on that.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/13386#issuecomment-3791911006 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 19:17:13 UTC