Wed, 22 May 2013 16:33:51 +0200
[cssom] Fix dup id and regenerate
cssom/Overview.html | file | annotate | diff | comparison | revisions | |
cssom/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom/Overview.html Wed May 22 16:31:45 2013 +0200 1.2 +++ b/cssom/Overview.html Wed May 22 16:33:51 2013 +0200 1.3 @@ -143,7 +143,7 @@ 1.4 <li><a href="#style-sheet-collections"><span class="secno">6.2 </span>Style Sheet Collections</a> 1.5 <ol class="toc"> 1.6 <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> 1.7 - <li><a href="#the-stylesheetlist-sequence"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Sequence</a></li> 1.8 + <li><a href="#the-stylesheetlist-interface"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Interface</a></li> 1.9 <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> 1.10 <li><a href="#interaction-with-the-user-interface"><span class="secno">6.2.4 </span>Interaction with the User Interface</a> 1.11 <ol class="toc"> 1.12 @@ -159,7 +159,7 @@ 1.13 <code title="">Link</code> Header</a></ol></li> 1.14 <li><a href="#css-rules"><span class="secno">6.4 </span>CSS Rules</a> 1.15 <ol class="toc"> 1.16 - <li><a href="#the-cssrulelist-sequence"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Sequence</a></li> 1.17 + <li><a href="#the-cssrulelist-interface"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Interface</a></li> 1.18 <li><a href="#the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title="">CSSRule</code> Interface</a></li> 1.19 <li><a href="#the-cssstylerule-interface"><span class="secno">6.4.3 </span>The <code title="">CSSStyleRule</code> Interface</a></li> 1.20 <li><a href="#the-csscharsetrule-interface"><span class="secno">6.4.4 </span>The <code title="">CSSCharsetRule</code> Interface</a></li> 1.21 @@ -1182,11 +1182,21 @@ 1.22 value of the header.</p> 1.23 1.24 1.25 - <h4 id="the-stylesheetlist-sequence"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Sequence</h4> 1.26 - 1.27 -<pre class="idl">typedef sequence<<a href="#stylesheet">StyleSheet</a>> <a href="#stylesheetlist">StyleSheetList</a>;</pre> 1.28 -<p>The <dfn id="stylesheetlist">StyleSheetList</dfn> sequence represents an ordered collection of <span title="style sheets">style sheets</span>.</p> 1.29 - 1.30 + <h4 id="the-stylesheetlist-interface"><span class="secno">6.2.2 </span>The <code title="">StyleSheetList</code> Interface</h4> 1.31 + 1.32 +<p>The <code><a href="#stylesheetlist">StyleSheetList</a></code> interface represents an ordered collection of <span>style sheets</span>.</p> 1.33 + 1.34 +<pre class="idl">[ArrayClass] 1.35 +interface <dfn id="stylesheetlist">StyleSheetList</dfn> { 1.36 + getter <a href="#stylesheet">StyleSheet</a>? <a href="#dom-stylesheetlist-item" title="dom-StyleSheetList-item">item</a>(unsigned long index); 1.37 + readonly attribute unsigned long <a href="#dom-stylesheetlist-length" title="dom-StyleSheetList-length">length</a>; 1.38 +};</pre> 1.39 + 1.40 +<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>. 1.41 + 1.42 +<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>. 1.43 + 1.44 +<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. 1.45 1.46 <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>Extensions to the <code title="">Document</code> Interface</h4> 1.47 1.48 @@ -1247,7 +1257,7 @@ 1.49 void <a href="#dom-document-enablestylesheetsforset" title="dom-Document-enableStyleSheetsForSet">enableStyleSheetsForSet</a>(DOMString? name);<!-- new --> 1.50 };</pre> 1.51 1.52 -<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 1.53 +<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 1.54 the <a href="#document-style-sheets">document style sheets</a>.</p> 1.55 <p class="note">Because of historical IDL limitations the <code title="dom-Document-styleSheets"><a href="#dom-document-stylesheets">styleSheets</a></code> attribute 1.56 used to be on a separate interface, <code>DocumentStyle</code>.</p> 1.57 @@ -1743,12 +1753,21 @@ 1.58 </dl> 1.59 1.60 1.61 - <h4 id="the-cssrulelist-sequence"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Sequence</h4> 1.62 - 1.63 -<pre class="idl">typedef sequence<<a href="#cssrule">CSSRule</a>> <a href="#cssrulelist">CSSRuleList</a>;</pre> 1.64 - 1.65 -<p>The <dfn id="cssrulelist"><code>CSSRuleList</code></dfn> sequence represents an ordered collection of CSS style rules.</p> 1.66 - 1.67 + <h4 id="the-cssrulelist-interface"><span class="secno">6.4.1 </span>The <code title="">CSSRuleList</code> Interface</h4> 1.68 + 1.69 +<p>The <code><a href="#cssrulelist">CSSRuleList</a></code> interface represents an ordered collection of CSS style rules.</p> 1.70 + 1.71 +<pre class="idl">[ArrayClass] 1.72 +interface <dfn id="cssrulelist">CSSRuleList</dfn> { 1.73 + getter <a href="#cssrule">CSSRule</a>? <a href="#dom-cssrulelist-item" title="dom-CSSRuleList-item">item</a>(unsigned long index); 1.74 + readonly attribute unsigned long <a href="#dom-cssrulelist-length" title="dom-CSSRuleList-length">length</a>; 1.75 +};</pre> 1.76 + 1.77 +<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>. 1.78 + 1.79 +<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>. 1.80 + 1.81 +<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. 1.82 1.83 <h4 id="the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title="">CSSRule</code> Interface</h4> 1.84
2.1 --- a/cssom/Overview.src.html Wed May 22 16:31:45 2013 +0200 2.2 +++ b/cssom/Overview.src.html Wed May 22 16:33:51 2013 +0200 2.3 @@ -1695,9 +1695,9 @@ 2.4 2.5 <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>. 2.6 2.7 -<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>. 2.8 - 2.9 -<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. 2.10 +<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>. 2.11 + 2.12 +<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. 2.13 2.14 <h4>The <code title>CSSRule</code> Interface</h4> 2.15