Skip to content

Commit 2330f19

Browse files
author
Simon Pieters
committed
[cssom] Missed to mark up a few IDL blocks
1 parent 8d69edb commit 2330f19

2 files changed

Lines changed: 38 additions & 38 deletions

File tree

cssom/Overview.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,17 +1783,17 @@ <h4 id="the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title=
17831783
inherits 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
20832083
underlying 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

cssom/Overview.src.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,17 +1713,17 @@ <h4>The <code title>CSSRule</code> Interface</h4>
17131713
inherits from this interface.</p>
17141714

17151715
<pre class=idl>interface <dfn>CSSRule</dfn> {
1716-
const unsigned short STYLE_RULE = 1;
1717-
const unsigned short CHARSET_RULE = 2;
1718-
const unsigned short IMPORT_RULE = 3;
1719-
const unsigned short MEDIA_RULE = 4;
1720-
const unsigned short FONT_FACE_RULE = 5;
1721-
const unsigned short PAGE_RULE = 6;
1722-
const unsigned short NAMESPACE_RULE = 10;
1723-
readonly attribute unsigned short type;
1724-
attribute DOMString cssText;
1725-
readonly attribute CSSRule? parentRule;
1726-
readonly attribute CSSStyleSheet? parentStyleSheet;
1716+
const unsigned short <span title=dom-CSSRule-STYLE_RULE>STYLE_RULE</span> = 1;
1717+
const unsigned short <span title=dom-CSSRule-CHARSET_RULE>CHARSET_RULE</span> = 2;
1718+
const unsigned short <span title=dom-CSSRule-IMPORT_RULE>IMPORT_RULE</span> = 3;
1719+
const unsigned short <span title=dom-CSSRule-MEDIA_RULE>MEDIA_RULE</span> = 4;
1720+
const unsigned short <span title=dom-CSSRule-FONT_FACE_RULE>FONT_FACE_RULE</span> = 5;
1721+
const unsigned short <span title=dom-CSSRule-PAGE_RULE>PAGE_RULE</span> = 6;
1722+
const unsigned short <span title=dom-CSSRule-NAMESPACE_RULE>NAMESPACE_RULE</span> = 10;
1723+
readonly attribute unsigned short <span title=dom-CSSRule-type>type</span>;
1724+
attribute DOMString <span title=dom-CSSRule-cssText>cssText</span>;
1725+
readonly attribute <span>CSSRule</span>? <span title=dom-CSSRule-parentRule>parentRule</span>;
1726+
readonly attribute <span>CSSStyleSheet</span>? <span title=dom-CSSRule-parentStyleSheet>parentStyleSheet</span>;
17271727
};</pre>
17281728

17291729
<!-- XXX saying "must implement" is wrong. -->
@@ -2013,14 +2013,14 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
20132013
underlying state depends upon the source of the <code>CSSStyleDeclaration</Code> instance.</p>
20142014

20152015
<pre class=idl>interface <dfn>CSSStyleDeclaration</dfn> {
2016-
attribute DOMString cssText;
2017-
readonly attribute unsigned long length;
2018-
DOMString item(unsigned long index);
2019-
DOMString getPropertyValue(DOMString property);
2020-
DOMString getPropertyPriority(DOMString property);
2021-
void setProperty(DOMString property, DOMString value, optional DOMString priority);
2022-
DOMString removeProperty(DOMString property);
2023-
readonly attribute CSSRule? parentRule;
2016+
attribute DOMString <span title=dom-CSSStyleDeclaration-cssText>cssText</span>;
2017+
readonly attribute unsigned long <span title=dom-CSSStyleDeclaration-length>length</span>;
2018+
DOMString <span title=dom-CSSStyleDeclaration-item>item</span>(unsigned long index);
2019+
DOMString <span title=dom-CSSStyleDeclaration-getPropertyValue>getPropertyValue</span>(DOMString property);
2020+
DOMString <span title=dom-CSSStyleDeclaration-getPropertyPriority>getPropertyPriority</span>(DOMString property);
2021+
void <span title=dom-CSSStyleDeclaration-setProperty>setProperty</span>(DOMString property, DOMString value, optional DOMString priority);
2022+
DOMString <span title=dom-CSSStyleDeclaration-removeProperty>removeProperty</span>(DOMString property);
2023+
readonly attribute <span>CSSRule</span>? <span title=dom-CSSStyleDeclaration-length>parentRule</span>;
20242024
};</pre>
20252025

20262026
<p>The <dfn title=dom-CSSStyleDeclaration-cssText><code>cssText</code></dfn> attribute must return the result of <span title='serialize a CSS declaration block'>serializing</span> the

0 commit comments

Comments
 (0)