Skip to content

Commit 3587fa5

Browse files
author
Simon Pieters
committed
[cssom] Fix dup id and regenerate
1 parent 2821e3f commit 3587fa5

2 files changed

Lines changed: 30 additions & 11 deletions

File tree

cssom/Overview.html

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2>
143143
<li><a href="#style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Collections</a>
144144
<ol class="toc">
145145
<li><a href="#the-http-default-style-header"><span class="secno">6.2.1 </span>The HTTP <code title="">Default-Style</code> Header</a></li>
146-
<li><a href="#the-stylesheetlist-sequence"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Sequence</a></li>
146+
<li><a href="#the-stylesheetlist-interface"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Interface</a></li>
147147
<li><a href="#extensions-to-the-document-interface"><span class="secno">6.2.3 </span>Extensions to the <code title="">Document</code> Interface</a></li>
148148
<li><a href="#interaction-with-the-user-interface"><span class="secno">6.2.4 </span>Interaction with the User Interface</a>
149149
<ol class="toc">
@@ -159,7 +159,7 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2>
159159
<code title="">Link</code> Header</a></ol></li>
160160
<li><a href="#css-rules"><span class="secno">6.4 </span>CSS Rules</a>
161161
<ol class="toc">
162-
<li><a href="#the-cssrulelist-sequence"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Sequence</a></li>
162+
<li><a href="#the-cssrulelist-interface"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Interface</a></li>
163163
<li><a href="#the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title="">CSSRule</code> Interface</a></li>
164164
<li><a href="#the-cssstylerule-interface"><span class="secno">6.4.3 </span>The <code title="">CSSStyleRule</code> Interface</a></li>
165165
<li><a href="#the-csscharsetrule-interface"><span class="secno">6.4.4 </span>The <code title="">CSSCharsetRule</code> Interface</a></li>
@@ -1182,11 +1182,21 @@ <h4 id="the-http-default-style-header"><span class="secno">6.2.1 </span>The HTTP
11821182
value of the header.</p>
11831183

11841184

1185-
<h4 id="the-stylesheetlist-sequence"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Sequence</h4>
1185+
<h4 id="the-stylesheetlist-interface"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Interface</h4>
11861186

1187-
<pre class="idl">typedef sequence&lt;<a href="#stylesheet">StyleSheet</a>&gt; <a href="#stylesheetlist">StyleSheetList</a>;</pre>
1188-
<p>The <dfn id="stylesheetlist">StyleSheetList</dfn> sequence represents an ordered collection of <span title="style sheets">style sheets</span>.</p>
1187+
<p>The <code><a href="#stylesheetlist">StyleSheetList</a></code> interface represents an ordered collection of <span>style sheets</span>.</p>
11891188

1189+
<pre class="idl">[ArrayClass]
1190+
interface <dfn id="stylesheetlist">StyleSheetList</dfn> {
1191+
getter <a href="#stylesheet">StyleSheet</a>? <a href="#dom-stylesheetlist-item" title="dom-StyleSheetList-item">item</a>(unsigned long index);
1192+
readonly attribute unsigned long <a href="#dom-stylesheetlist-length" title="dom-StyleSheetList-length">length</a>;
1193+
};</pre>
1194+
1195+
<p>The object's <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of <span>style sheets</span> represented by the collection. If there are no such <span>style sheets</span>, then there are no <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>.
1196+
1197+
<p>The <dfn id="dom-stylesheetlist-item" title="dom-StyleSheetList-item"><code>item(<var>index</var>)</code></dfn> method must return the <var>index</var>th <span>style sheet</span> in the collection. If there is no <var>index</var>th object in the collection, then the method must return <code>null</code>.
1198+
1199+
<p>The <dfn id="dom-stylesheetlist-length" title="dom-StyleSheetList-length"><code>length</code></dfn> attribute must return the number of <span>style sheets</span> represented by the collection.
11901200

11911201
<h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>Extensions to the <code title="">Document</code> Interface</h4>
11921202

@@ -1247,7 +1257,7 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
12471257
void <a href="#dom-document-enablestylesheetsforset" title="dom-Document-enableStyleSheetsForSet">enableStyleSheetsForSet</a>(DOMString? name);<!-- new -->
12481258
};</pre>
12491259

1250-
<p>The <dfn id="dom-document-stylesheets" title="dom-Document-styleSheets"><code>styleSheets</code></dfn> attribute must return a <code><a href="#stylesheetlist">StyleSheetList</a></code> sequence representing
1260+
<p>The <dfn id="dom-document-stylesheets" title="dom-Document-styleSheets"><code>styleSheets</code></dfn> attribute must return a <code><a href="#stylesheetlist">StyleSheetList</a></code> collection representing
12511261
the <a href="#document-style-sheets">document style sheets</a>.</p>
12521262
<p class="note">Because of historical IDL limitations the <code title="dom-Document-styleSheets"><a href="#dom-document-stylesheets">styleSheets</a></code> attribute
12531263
used to be on a separate interface, <code>DocumentStyle</code>.</p>
@@ -1743,12 +1753,21 @@ <h3 id="css-rules"><span class="secno">6.4 </span>CSS Rules</h3>
17431753
</dl>
17441754

17451755

1746-
<h4 id="the-cssrulelist-sequence"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Sequence</h4>
1756+
<h4 id="the-cssrulelist-interface"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Interface</h4>
1757+
1758+
<p>The <code><a href="#cssrulelist">CSSRuleList</a></code> interface represents an ordered collection of CSS style rules.</p>
1759+
1760+
<pre class="idl">[ArrayClass]
1761+
interface <dfn id="cssrulelist">CSSRuleList</dfn> {
1762+
getter <a href="#cssrule">CSSRule</a>? <a href="#dom-cssrulelist-item" title="dom-CSSRuleList-item">item</a>(unsigned long index);
1763+
readonly attribute unsigned long <a href="#dom-cssrulelist-length" title="dom-CSSRuleList-length">length</a>;
1764+
};</pre>
17471765

1748-
<pre class="idl">typedef sequence&lt;<a href="#cssrule">CSSRule</a>&gt; <a href="#cssrulelist">CSSRuleList</a>;</pre>
1766+
<p>The object's <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of <code><a href="#cssrule">CSSRule</a></code> objects represented by the collection. If there are no such <code><a href="#cssrule">CSSRule</a></code> objects, then there are no <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>.
17491767

1750-
<p>The <dfn id="cssrulelist"><code>CSSRuleList</code></dfn> sequence represents an ordered collection of CSS style rules.</p>
1768+
<p>The <dfn id="dom-cssrulelist-item" title="dom-CSSRuleList-item"><code>item(<var>index</var>)</code></dfn> method must return the <var>index</var>th <code><a href="#cssrule">CSSRule</a></code> object in the collection. If there is no <var>index</var>th object in the collection, then the method must return <code>null</code>.
17511769

1770+
<p>The <dfn id="dom-cssrulelist-length" title="dom-CSSRuleList-length"><code>length</code></dfn> attribute must return the number of <code><a href="#cssrule">CSSRule</a></code> objects represented by the collection.
17521771

17531772
<h4 id="the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title="">CSSRule</code> Interface</h4>
17541773

cssom/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,9 +1695,9 @@ <h4>The <code title>CSSRuleList</code> Interface</h4>
16951695

16961696
<p>The object's <span data-anolis-spec=webidl>supported property indices</span> are the numbers in the range zero to one less than the number of <code>CSSRule</code> objects represented by the collection. If there are no such <code>CSSRule</code> objects, then there are no <span data-anolis-spec=webidl>supported property indices</span>.
16971697

1698-
<p>The <dfn title=dom-StyleSheetList-item><code>item(<var>index</var>)</code></dfn> method must return the <var>index</var>th <code>CSSRule</code> object in the collection. If there is no <var>index</var>th object in the collection, then the method must return <code>null</code>.
1698+
<p>The <dfn title=dom-CSSRuleList-item><code>item(<var>index</var>)</code></dfn> method must return the <var>index</var>th <code>CSSRule</code> object in the collection. If there is no <var>index</var>th object in the collection, then the method must return <code>null</code>.
16991699

1700-
<p>The <dfn title=dom-StyleSheetList-length><code>length</code></dfn> attribute must return the number of <code>CSSRule</code> objects represented by the collection.
1700+
<p>The <dfn title=dom-CSSRuleList-length><code>length</code></dfn> attribute must return the number of <code>CSSRule</code> objects represented by the collection.
17011701

17021702
<h4>The <code title>CSSRule</code> Interface</h4>
17031703

0 commit comments

Comments
 (0)