@@ -230,21 +230,21 @@ The value for a given property is the last valid value provided in the string.
230230{{CSSStyleValue}} subclasses {#stylevalue-subclasses}
231231==================================================
232232
233- {{CSSTokenStreamValue }} objects {#tokenstreamvalue -objects}
233+ {{CSSUnparsedValue }} objects {#unparsedvalue -objects}
234234----------------------------------------------
235235
236236<pre class='idl'>
237- interface CSSTokenStreamValue : CSSStyleValue {
237+ interface CSSUnparsedValue : CSSStyleValue {
238238 iterable<(DOMString or CSSVariableReferenceValue)>;
239239};
240240
241241interface CSSVariableReferenceValue {
242242 readonly attribute DOMString variable;
243- readonly attribute CSSTokenStreamValue fallback;
243+ readonly attribute CSSUnparsedValue fallback;
244244};
245245</pre>
246246
247- {{CSSTokenStreamValue }} objects represent values that reference custom properties. They represent a list of string fragments and variable references.
247+ {{CSSUnparsedValue }} objects represent values that reference custom properties. They represent a list of string fragments and variable references.
248248
249249{{CSSKeywordValue}} objects {#keywordvalue-objects}
250250------------------------------------------------
@@ -383,7 +383,7 @@ that value will be accepted unaltered when set on a <a>specified StylePropertyMa
383383<a>inline StylePropertyMap</a> . Instead, clamping and/or rounding will occur during computation of style.
384384
385385Note that lengths which incorporate variable references will instead be represented as
386- {{CSSTokenStreamValue }} objects, and keywords as {{CSSKeywordValue}} objects.
386+ {{CSSUnparsedValue }} objects, and keywords as {{CSSKeywordValue}} objects.
387387
388388The following methods are defined for {{CSSLengthValue}} objects:
389389
@@ -1208,7 +1208,7 @@ If all listed subclasses fail, then the value is normalized as a raw
12081208{{CSSStyleValue}} , with the {{CSSStyleValue/cssText}} attribute
12091209set to the input value.
12101210
1211- {{CSSTokenStreamValue }} normalization {#tokenstreamvalue -normalization}
1211+ {{CSSUnparsedValue }} normalization {#unparsedvalue -normalization}
12121212-----------------------------------------------------------------------
12131213
12141214Values which contain custom property references are tokenized then split into runs of
@@ -1220,16 +1220,16 @@ is represented by a {{CSSVariableReferenceValue}}.
12201220<div class='example'>
12211221
12221222The string "calc(42px + var(--foo, 15em) + var(--bar, var(--far) + 15px))"
1223- is converted into a {{CSSTokenStreamValue }} that contains a sequence with:
1223+ is converted into a {{CSSUnparsedValue }} that contains a sequence with:
12241224* the string "calc(42px + "
12251225* a {{CSSVariableReferenceValue}} with:
12261226 * {{CSSVariableReferenceValue/variable}} "--foo"
12271227 * {{CSSVariableReferenceValue/fallback}} a
1228- {{CSSTokenStreamValue }} with a single-valued sequence containing " 15em"
1228+ {{CSSUnparsedValue }} with a single-valued sequence containing " 15em"
12291229* the string " + "
12301230* a {{CSSVariableReferenceValue}} with:
12311231 * {{CSSVariableReferenceValue/variable}} "--bar"
1232- * {{CSSVariableReferenceValue/fallback}} a {{CSSTokenStreamValue }}
1232+ * {{CSSVariableReferenceValue/fallback}} a {{CSSUnparsedValue }}
12331233 with a sequence containing:
12341234 * the string " "
12351235 * a {{CSSVariableReferenceValue}} with
@@ -1416,13 +1416,13 @@ This appendix describes the restrictions on {{CSSStyleValue}} objects that
14161416appear as computed values (i.e. as a value stored on computed
14171417{{StylePropertyMapReadOnly}} objects).
14181418
1419- Computed {{CSSTokenStreamValue }} objects {#computed-tokenstreamvalue -objects}
1419+ Computed {{CSSUnparsedValue }} objects {#computed-unparsedvalue -objects}
14201420-----------------------------------------------------------------------------
14211421
14221422Custom property references are resolved as part of style computation. Accordingly,
1423- computed {{CSSTokenStreamValue }} objects will not contain {{CSSVariableReferenceValue}} objects.
1423+ computed {{CSSUnparsedValue }} objects will not contain {{CSSVariableReferenceValue}} objects.
14241424As a result, only a single {{DOMString}} will appear in the sequence contained by
1425- computed {{CSSTokenStreamValue }} objects.
1425+ computed {{CSSUnparsedValue }} objects.
14261426
14271427Furthermore, values that at specified value time contained custom property references
14281428are renormalized after computation.
@@ -1438,7 +1438,7 @@ var a = e.styleMap.get('width');
14381438var b = getComputedStyleMap(e).get('width' );
14391439</pre>
14401440
1441- Will result in "a" containing a {{CSSTokenStreamValue }} with a single {{CSSVariableReferenceValue}}
1441+ Will result in "a" containing a {{CSSUnparsedValue }} with a single {{CSSVariableReferenceValue}}
14421442in its sequence, and "b" containing a {{CSSSimpleLength}} representing 42px.
14431443
14441444</div>
0 commit comments