From 7eb903a13aa66d1cb859d2c3fdf02a29169a8d0b Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 23 Jan 2026 21:26:14 +0100 Subject: [PATCH 1/2] [cssom-1] Append only one newline in @media rule block --- cssom-1/Overview.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cssom-1/Overview.bs b/cssom-1/Overview.bs index 76438a28f702..d3f618c121ff 100644 --- a/cssom-1/Overview.bs +++ b/cssom-1/Overview.bs @@ -1888,9 +1888,9 @@ To serialize a CSS rule, perform one of the following in accor
  1. The string "@media", followed by a single SPACE (U+0020).
  2. The result of performing serialize a media query list on rule's media query list.
  3. -
  4. A single SPACE (U+0020), followed by the string "{", i.e., LEFT CURLY BRACKET (U+007B), followed by a newline.
  5. +
  6. A single SPACE (U+0020), followed by the string "{", i.e., LEFT CURLY BRACKET (U+007B).
  7. The result of performing serialize a CSS rule on each rule in the rule's {{CSSGroupingRule/cssRules}} list, - filtering out empty strings, indenting each item with two spaces, all joined with newline.
  8. + filtering out empty strings, all preceded by a newline and indented by two spaces.
  9. A newline, followed by the string "}", i.e., RIGHT CURLY BRACKET (U+007D)
From a64442aef4115029cddc5bf6895f076d69a4d925 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 23 Jan 2026 21:27:32 +0100 Subject: [PATCH 2/2] [cssom-1] Append missing newline at the start of @keyframes rule block --- cssom-1/Overview.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cssom-1/Overview.bs b/cssom-1/Overview.bs index d3f618c121ff..ca6822438068 100644 --- a/cssom-1/Overview.bs +++ b/cssom-1/Overview.bs @@ -1974,7 +1974,7 @@ To serialize a CSS rule, perform one of the following in accor
  • The serialization of the {{CSSKeyframesRule/name}} attribute. If the attribute is a CSS wide keyword, or the value default, or the value none, then it is [=serialized as a string=]. Otherwise, it is serialized as an identifier.
  • The string " { ", i.e., a single SPACE (U+0020), followed by LEFT CURLY BRACKET (U+007B), followed by a single SPACE (U+0020). -
  • The result of performing serialize a CSS rule on each rule in the rule's {{CSSKeyframesRule/cssRules}} list, separated by a newline and indented by two spaces.
  • +
  • The result of performing serialize a CSS rule on each rule in the rule's {{CSSKeyframesRule/cssRules}} list, preceded by a newline and indented by two spaces.
  • A newline, followed by the string "}", i.e., RIGHT CURLY BRACKET (U+007D)