@@ -1783,17 +1783,17 @@ <h4 id="the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title=
17831783inherits from this interface.</ p >
17841784
17851785< pre class ="idl "> interface < dfn id ="cssrule "> CSSRule</ dfn > {
1786- const unsigned short STYLE_RULE = 1;
1787- const unsigned short CHARSET_RULE = 2;
1788- const unsigned short IMPORT_RULE = 3;
1789- const unsigned short MEDIA_RULE = 4;
1790- const unsigned short FONT_FACE_RULE = 5;
1791- const unsigned short PAGE_RULE = 6;
1792- const unsigned short NAMESPACE_RULE = 10;
1793- readonly attribute unsigned short type;
1794- attribute DOMString cssText;
1795- readonly attribute CSSRule? parentRule;
1796- readonly attribute CSSStyleSheet? parentStyleSheet;
1786+ const unsigned short < a href =" #dom-cssrule-style_rule " title =" dom-CSSRule- STYLE_RULE" > STYLE_RULE </ a > = 1;
1787+ const unsigned short < a href =" #dom-cssrule-charset_rule " title =" dom-CSSRule- CHARSET_RULE" > CHARSET_RULE </ a > = 2;
1788+ const unsigned short < a href =" #dom-cssrule-import_rule " title =" dom-CSSRule- IMPORT_RULE" > IMPORT_RULE </ a > = 3;
1789+ const unsigned short < a href =" #dom-cssrule-media_rule " title =" dom-CSSRule- MEDIA_RULE" > MEDIA_RULE </ a > = 4;
1790+ const unsigned short < a href =" #dom-cssrule-font_face_rule " title =" dom-CSSRule- FONT_FACE_RULE" > FONT_FACE_RULE </ a > = 5;
1791+ const unsigned short < a href =" #dom-cssrule-page_rule " title =" dom-CSSRule- PAGE_RULE" > PAGE_RULE </ a > = 6;
1792+ const unsigned short < a href =" #dom-cssrule-namespace_rule " title =" dom-CSSRule- NAMESPACE_RULE" > NAMESPACE_RULE </ a > = 10;
1793+ readonly attribute unsigned short < a href =" #dom-cssrule- type" title =" dom-CSSRule-type " > type </ a > ;
1794+ attribute DOMString < a href =" #dom-cssrule-csstext " title =" dom-CSSRule- cssText" > cssText </ a > ;
1795+ readonly attribute < a href =" #cssrule " > CSSRule</ a > ? < a href =" #dom-cssrule-parentrule " title =" dom-CSSRule- parentRule" > parentRule </ a > ;
1796+ readonly attribute < a href =" #cssstylesheet " > CSSStyleSheet</ a > ? < a href =" #dom-cssrule-parentstylesheet " title =" dom-CSSRule- parentStyleSheet" > parentStyleSheet </ a > ;
17971797};</ pre >
17981798
17991799<!-- XXX saying "must implement" is wrong. -->
@@ -2083,14 +2083,14 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
20832083underlying state depends upon the source of the < code > < a href ="#cssstyledeclaration "> CSSStyleDeclaration</ a > </ code > instance.</ p >
20842084
20852085< pre class ="idl "> interface < dfn id ="cssstyledeclaration "> CSSStyleDeclaration</ dfn > {
2086- attribute DOMString cssText;
2087- readonly attribute unsigned long length;
2088- DOMString item(unsigned long index);
2089- DOMString getPropertyValue(DOMString property);
2090- DOMString getPropertyPriority(DOMString property);
2091- void setProperty(DOMString property, DOMString value, optional DOMString priority);
2092- DOMString removeProperty(DOMString property);
2093- readonly attribute CSSRule? parentRule;
2086+ attribute DOMString < a href =" #dom-cssstyledeclaration-csstext " title =" dom-CSSStyleDeclaration- cssText" > cssText </ a > ;
2087+ readonly attribute unsigned long < a href =" #dom-cssstyledeclaration- length" title =" dom-CSSStyleDeclaration-length " > length </ a > ;
2088+ DOMString < a href =" #dom-cssstyledeclaration- item" title =" dom-CSSStyleDeclaration-item " > item </ a > (unsigned long index);
2089+ DOMString < a href =" #dom-cssstyledeclaration-getpropertyvalue " title =" dom-CSSStyleDeclaration- getPropertyValue" > getPropertyValue </ a > (DOMString property);
2090+ DOMString < a href =" #dom-cssstyledeclaration-getpropertypriority " title =" dom-CSSStyleDeclaration- getPropertyPriority" > getPropertyPriority </ a > (DOMString property);
2091+ void < a href =" #dom-cssstyledeclaration-setproperty " title =" dom-CSSStyleDeclaration- setProperty" > setProperty </ a > (DOMString property, DOMString value, optional DOMString priority);
2092+ DOMString < a href =" #dom-cssstyledeclaration-removeproperty " title =" dom-CSSStyleDeclaration- removeProperty" > removeProperty </ a > (DOMString property);
2093+ readonly attribute < a href =" #cssrule " > CSSRule</ a > ? < a href =" #dom-cssstyledeclaration-length " title =" dom-CSSStyleDeclaration-length " > parentRule</ a > ;
20942094};</ pre >
20952095
20962096< p > The < dfn id ="dom-cssstyledeclaration-csstext " title ="dom-CSSStyleDeclaration-cssText "> < code > cssText</ code > </ dfn > attribute must return the result of < a href ="#serialize-a-css-declaration-block " title ="serialize a CSS declaration block "> serializing</ a > the
0 commit comments