Skip to content

Commit 4db48b9

Browse files
committed
[css-properties-values-api] Export 'equivalent token sequence', rewrap paragraphs to use semantic linebreaks.
1 parent dac2533 commit 4db48b9

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

css-properties-values-api/Overview.bs

+10-12
Original file line numberDiff line numberDiff line change
@@ -782,18 +782,16 @@ Note: This applies regardless of whether or not the fallback is being used.
782782
Substitution {#substitution}
783783
----------------------------
784784

785-
Like unregistered custom properties, the value of a registered custom property
786-
can be substituted into another value with the ''var()'' function. However,
787-
registered custom properties substitute as their
788-
[[#calculation-of-computed-values|computed value]], rather than the original
789-
token sequence used to produce that value.
790-
791-
Any ''var()'' function that references a registered custom property must be
792-
replaced with an <dfn>equivalent token sequence</dfn>, which is equal
793-
to the token sequence that
794-
would have been produced by [[cssom#serialize-a-css-value|serializing]]
795-
the computed value, and [[css-syntax-3#tokenization|tokenizing]] the resulting
796-
string.
785+
Like unregistered custom properties,
786+
the value of a registered custom property can be substituted into another value with the ''var()'' function.
787+
However, registered custom properties substitute as their [[#calculation-of-computed-values|computed value]],
788+
rather than the original token sequence used to produce that value.
789+
790+
Any ''var()'' function that references a registered custom property
791+
must be replaced with an <dfn export>equivalent token sequence</dfn>,
792+
which is equal to the token sequence that would have been produced
793+
by [[cssom#serialize-a-css-value|serializing]] the computed value,
794+
and [[css-syntax-3#tokenization|tokenizing]] the resulting string.
797795

798796
<div class='example'>
799797
Suppose that '--x' is registered with ''&lt;length>'' syntax, and that '--y'

0 commit comments

Comments
 (0)