@@ -27,7 +27,7 @@ interface CSSStyleDeclaration {
2727 attribute DOMString cssText;
2828
2929 [Documentation=
30- "<p>The {@name} {@type} must return the number of declarations in the <span>collection of CSS declarations</span>.</p>"
30+ "<p>The {@name} {@type} must return the number of declarations in the <span>CSS declaration block declarations</span>.</p>"
3131 ]
3232 readonly attribute unsigned long length;
3333
@@ -37,7 +37,15 @@ interface CSSStyleDeclaration {
3737 DOMString item(unsigned long index);
3838
3939 [Documentation=
40- "<p>The {@name} {@type} must ...</p>"
40+ "<p>The {@name} {@type} must run these steps:</p>\
41+ <ol>\
42+ <li><p>If <var>property</var> is an <span data-anolis-spec=dom>ASCII\
43+ case-insensitive</span> match for a property of a declaration in the\
44+ <span>CSS declaration block declarations</span>, return the\
45+ <span title='serialize a CSS value'>serialization</span> of that declaration's\
46+ value.\
47+ <li><p>Return the empty string.\
48+ </ol>"
4149 ]
4250 DOMString getPropertyValue(DOMString property);
4351
@@ -76,7 +84,7 @@ interface CSSStyleDeclaration {
7684 <li><p>If the <span>CSS declaration block readonly flag</span> is set, <span data-anolis-spec=dom title=concept-throw>throw</span> a\
7785 '<code data-anolis-spec=dom>NoModificationAllowedError</code>' and terminate these steps.</li>\
7886 <li><p>If <var>property</var> is an <span data-anolis-spec=dom>ASCII case-insensitive</span> match for a property of a declaration in the\
79- <span>collection of CSS declarations</span> remove the declaration.</p></li>\
87+ <span>CSS declaration block declarations</span> remove the declaration.</p></li>\
8088 </ol>"
8189 ]
8290 DOMString removeProperty(DOMString property);
0 commit comments