You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cssom-1/Overview.bs
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1826,8 +1826,9 @@ To <dfn export>serialize a CSS rule</dfn>, perform one of the following in accor
1826
1826
The result of concatenating the following:
1827
1827
<ol>
1828
1828
<li>The literal string "<code>@keyframes</code>", followed by a single SPACE (U+0020).
1829
-
<li>The <a lt="serialize an identifier">serialization as an identifier</a> of the
1830
-
{{CSSKeyframesRule/name}} attribute.
1829
+
<li>The serialization of the {{CSSKeyframesRule/name}} attribute. If the attribute is a CSS wide keyword, or the value ''default'', or the value ''none'',
1830
+
then it is <a lt="serialize a string">serialized as a string</a>. Otherwise, it is <a lt="serialize an identifier">serialized as an identifier</a>.
1831
+
<li>The string "<code> { </code>", i.e., a single SPACE (U+0020), followed by LEFT CURLY BRACKET (U+007B), followed by a single SPACE (U+0020).
1831
1832
<li>The result of performing <a>serialize a CSS rule</a> on each rule in the rule's {{CSSKeyframesRule/cssRules}} list, separated by a newline and indented by two spaces.</li>
1832
1833
<li>A newline, followed by the string "}", i.e., RIGHT CURLY BRACKET (U+007D)</li>
1833
1834
</ol>
@@ -1837,7 +1838,7 @@ To <dfn export>serialize a CSS rule</dfn>, perform one of the following in accor
1837
1838
The result of concatenating the following:
1838
1839
<ol>
1839
1840
<li>The {{CSSKeyframeRule/keyText}}.
1840
-
<li>The string "<code> { </code>", i.e., a single SPACE (U+0020), followed by LEFT CURLY BRACKET (U+007B),
1841
+
<li>The string "<code> { </code>", i.e., a single SPACE (U+0020), followed by LEFT CURLY BRACKET (U+007B), followed by a single SPACE (U+0020).
1841
1842
<li>The result of performing <a>serialize a CSS declaration block</a> on the rule's associated declarations.
1842
1843
<li>If the rule is associated with one or more declarations, the string "<code></code>", i.e., a single SPACE (U+0020).
1843
1844
<li>The string "<code>}</code>", RIGHT CURLY BRACKET (U+007D).
0 commit comments