Skip to content

Commit dd4b63e

Browse files
committed
[css-properties-values-api] Fix example to not talk about whitespace, now that ws is thrown away in parsing, and rewrap paragraphs.
1 parent 4db48b9 commit dd4b63e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-properties-values-api/Overview.bs

+5-5
Original file line numberDiff line numberDiff line change
@@ -794,8 +794,8 @@ by [[cssom#serialize-a-css-value|serializing]] the computed value,
794794
and [[css-syntax-3#tokenization|tokenizing]] the resulting string.
795795

796796
<div class='example'>
797-
Suppose that '--x' is registered with ''&lt;length>'' syntax, and that '--y'
798-
is an unregistered custom property.
797+
Suppose that '--x' is registered with ''&lt;length>'' syntax,
798+
and that '--y'is an unregistered custom property.
799799

800800
<pre class='lang-css'>
801801

@@ -806,9 +806,9 @@ and [[css-syntax-3#tokenization|tokenizing]] the resulting string.
806806
}
807807
</pre>
808808

809-
Because the computed value of '--x' (when serialized) is "80px", the computed
810-
value of '--y' is: <<whitespace-token>> followed by
811-
<<dimension-token>> with a value of "80" and unit "px".
809+
Because the computed value of '--x' (when serialized) is "80px",
810+
the computed value of '--y' is
811+
a <<dimension-token>> with a value of "80" and unit "px".
812812

813813
</div>
814814

0 commit comments

Comments
 (0)