You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getter <ahref="#stylesheet">StyleSheet</a>? <ahref="#dom-stylesheetlist-item" title="dom-StyleSheetList-item">item</a>(unsigned long index);
1192
+
readonly attribute unsigned long <ahref="#dom-stylesheetlist-length" title="dom-StyleSheetList-length">length</a>;
1193
+
};</pre>
1194
+
1195
+
<p>The object's <aclass="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 <aclass="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>.
1196
+
1197
+
<p>The <dfnid="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 <dfnid="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.
1190
1200
1191
1201
<h4id="extensions-to-the-document-interface"><spanclass="secno">6.2.3 </span>Extensions to the <codetitle="">Document</code> Interface</h4>
void <ahref="#dom-document-enablestylesheetsforset" title="dom-Document-enableStyleSheetsForSet">enableStyleSheetsForSet</a>(DOMString? name);<!-- new -->
1248
1258
};</pre>
1249
1259
1250
-
<p>The <dfnid="dom-document-stylesheets" title="dom-Document-styleSheets"><code>styleSheets</code></dfn> attribute must return a <code><ahref="#stylesheetlist">StyleSheetList</a></code>sequence representing
1260
+
<p>The <dfnid="dom-document-stylesheets" title="dom-Document-styleSheets"><code>styleSheets</code></dfn> attribute must return a <code><ahref="#stylesheetlist">StyleSheetList</a></code>collection representing
1251
1261
the <ahref="#document-style-sheets">document style sheets</a>.</p>
1252
1262
<pclass="note">Because of historical IDL limitations the <codetitle="dom-Document-styleSheets"><ahref="#dom-document-stylesheets">styleSheets</a></code> attribute
1253
1263
used to be on a separate interface, <code>DocumentStyle</code>.</p>
<p>The object's <aclass="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><ahref="#cssrule">CSSRule</a></code> objects represented by the collection. If there are no such <code><ahref="#cssrule">CSSRule</a></code> objects, then there are no <aclass="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a>.
1749
1767
1750
-
<p>The <dfnid="cssrulelist"><code>CSSRuleList</code></dfn>sequence represents an ordered collection of CSS style rules.</p>
1768
+
<p>The <dfnid="dom-cssrulelist-item" title="dom-CSSRuleList-item"><code>item(<var>index</var>)</code></dfn>method must return the <var>index</var>th <code><ahref="#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>.
1751
1769
1770
+
<p>The <dfnid="dom-cssrulelist-length" title="dom-CSSRuleList-length"><code>length</code></dfn> attribute must return the number of <code><ahref="#cssrule">CSSRule</a></code> objects represented by the collection.
<p>The object's <spandata-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 <spandata-anolis-spec=webidl>supported property indices</span>.
1697
1697
1698
-
<p>The <dfntitle=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 <dfntitle=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>.
1699
1699
1700
-
<p>The <dfntitle=dom-StyleSheetList-length><code>length</code></dfn> attribute must return the number of <code>CSSRule</code> objects represented by the collection.
1700
+
<p>The <dfntitle=dom-CSSRuleList-length><code>length</code></dfn> attribute must return the number of <code>CSSRule</code> objects represented by the collection.
0 commit comments