From 3e2ca508f1ae6bdbb1a670f4488622fd6a452ab3 Mon Sep 17 00:00:00 2001 From: Chris Lilley Date: Tue, 28 Apr 2026 10:56:09 -0400 Subject: [PATCH] [cssom-1] font-family descriptor should not be serialized if not present, fix #13323 --- cssom-1/Overview.bs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cssom-1/Overview.bs b/cssom-1/Overview.bs index 63b58abcb706..0b98f4b01a58 100644 --- a/cssom-1/Overview.bs +++ b/cssom-1/Overview.bs @@ -1899,9 +1899,13 @@ To serialize a CSS rule, perform one of the following in accor The result of concatenating the following:
  1. The string "@font-face {", followed by a single SPACE (U+0020).
  2. -
  3. The string "font-family:", followed by a single SPACE (U+0020).
  4. -
  5. The result of performing serialize a string on the rule’s font family name.
  6. -
  7. The string ";", i.e., SEMICOLON (U+003B). +
  8. If the '@font-face/font-family' descriptor is present: +
      +
    1. The string "font-family:", followed by a single SPACE (U+0020).
    2. +
    3. The result of performing serialize a string on the rule’s font family name.
    4. +
    5. The string ";", i.e., SEMICOLON (U+003B).
    6. +
    +
  9. If the rule's associated source list is not empty, follow these substeps: