@@ -79,22 +79,6 @@ The <dfn method for=CSSStyleValue>parse(DOMString <var>property</var>, DOMString
7979method attempts to parse <var> cssText</var> as a valid {{CSSStyleValue}} or sequence<{{CSSStyleValue}} > for
8080<var> property</var> , returning null on failure.
8181
82- {{CSSTokenStreamValue}} objects {#tokenstreamvalue-objects}
83- ----------------------------------------------
84-
85- <pre class='idl'>
86- interface CSSTokenStreamValue : CSSStyleValue {
87- iterable<(DOMString or CSSVariableReferenceValue)>;
88- };
89-
90- interface CSSVariableReferenceValue {
91- attribute DOMString variable;
92- attribute CSSTokenStreamValue fallback;
93- };
94- </pre>
95-
96- {{CSSTokenStreamValue}} objects represent values that reference custom properties. They represent a list of string fragments and variable references.
97-
9882The {{StylePropertyMap}} {#the-stylepropertymap}
9983================================================
10084
@@ -234,6 +218,22 @@ The value for a given property is the last valid value provided in the string.
234218{{CSSStyleValue}} subclasses {#stylevalue-subclasses}
235219==================================================
236220
221+ {{CSSTokenStreamValue}} objects {#tokenstreamvalue-objects}
222+ ----------------------------------------------
223+
224+ <pre class='idl'>
225+ interface CSSTokenStreamValue : CSSStyleValue {
226+ iterable<(DOMString or CSSVariableReferenceValue)>;
227+ };
228+
229+ interface CSSVariableReferenceValue {
230+ readonly attribute DOMString variable;
231+ readonly attribute CSSTokenStreamValue fallback;
232+ };
233+ </pre>
234+
235+ {{CSSTokenStreamValue}} objects represent values that reference custom properties. They represent a list of string fragments and variable references.
236+
237237{{CSSKeywordValue}} objects {#keywordvalue-objects}
238238------------------------------------------------
239239
@@ -254,7 +254,7 @@ keyword for a particular property. Property setters are required to enforce keyw
254254<pre class='idl'>
255255[Constructor(double), Constructor(DOMString cssText)]
256256interface CSSNumberValue : CSSStyleValue {
257- attribute double value;
257+ readonly attribute double value;
258258};
259259</pre>
260260
@@ -331,22 +331,22 @@ interface CSSLengthValue : CSSStyleValue {
331331 Constructor(CSSCalcDictionary)
332332]
333333interface CSSCalcLength : CSSLengthValue {
334- attribute double? px;
335- attribute double? percent;
336- attribute double? em;
337- attribute double? ex;
338- attribute double? ch;
339- attribute double? rem;
340- attribute double? vw;
341- attribute double? vh;
342- attribute double? vmin;
343- attribute double? vmax;
344- attribute double? cm;
345- attribute double? mm;
346- attribute double? q;
347- attribute double? in;
348- attribute double? pc;
349- attribute double? pt;
334+ readonly attribute double? px;
335+ readonly attribute double? percent;
336+ readonly attribute double? em;
337+ readonly attribute double? ex;
338+ readonly attribute double? ch;
339+ readonly attribute double? rem;
340+ readonly attribute double? vw;
341+ readonly attribute double? vh;
342+ readonly attribute double? vmin;
343+ readonly attribute double? vmax;
344+ readonly attribute double? cm;
345+ readonly attribute double? mm;
346+ readonly attribute double? q;
347+ readonly attribute double? in;
348+ readonly attribute double? pc;
349+ readonly attribute double? pt;
350350};
351351
352352// lengths that are *just* keywords don't become CSSSimpleLengths or CSSCalcLengths.
@@ -355,7 +355,7 @@ interface CSSCalcLength : CSSLengthValue {
355355 Constructor(CSSLengthValue),
356356 Constructor(double value, LengthType type)]
357357interface CSSSimpleLength : CSSLengthValue {
358- attribute double value;
358+ readonly attribute double value;
359359 readonly attribute LengthType type;
360360};
361361</pre>
0 commit comments