@@ -782,18 +782,16 @@ Note: This applies regardless of whether or not the fallback is being used.
782
782
Substitution {#substitution}
783
783
----------------------------
784
784
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.
797
795
798
796
<div class='example'>
799
797
Suppose that '--x' is registered with ''<length>'' syntax, and that '--y'
0 commit comments