Skip to content

Commit 04f4125

Browse files
committed
CSSRuleList is now a sequence
1 parent 65b37b4 commit 04f4125

2 files changed

Lines changed: 10 additions & 45 deletions

File tree

cssom/Overview.html

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ <h2 class="no-num no-toc" id=toc>Table of Contents</h2>
175175
<li><a href="#css-statements"><span class=secno>7.2. </span>CSS
176176
Statements</a>
177177
<ul class=toc>
178-
<li><a href="#the-cssrulelist-interface"><span class=secno>7.2.1.
179-
</span>The <code title="">CSSRuleList</code> Interface</a>
178+
<li><a href="#the-cssrulelist-sequence"><span class=secno>7.2.1.
179+
</span>The <code title="">CSSRuleList</code> Sequence</a>
180180

181181
<li><a href="#the-cssrule-interface"><span class=secno>7.2.2.
182182
</span>The <code title="">CSSRule</code> Interface</a>
@@ -1836,31 +1836,14 @@ <h3 id=css-statements><span class=secno>7.2. </span>CSS Statements</h3>
18361836
<p>Replace <var>old object</var> with <var>object</var>.
18371837
</ol>
18381838

1839-
<h4 id=the-cssrulelist-interface><span class=secno>7.2.1. </span>The <code
1840-
title="">CSSRuleList</code> Interface</h4>
1841-
1842-
<p class=XXX>turn into sequence
1839+
<h4 id=the-cssrulelist-sequence><span class=secno>7.2.1. </span>The <code
1840+
title="">CSSRuleList</code> Sequence</h4>
18431841

18441842
<p>The <code><a href="#cssrulelist">CSSRuleList</a></code> object
1845-
represents an ordered collection of CSS statements. Items in this
1846-
collection are accessible through an integral index, starting from zero.
1847-
1848-
<pre class=idl>interface <dfn id=cssrulelist>CSSRuleList</dfn> {
1849-
readonly attribute unsigned long <a href="#cssrulelist-length" title=cssrulelist-length>length</a>;
1850-
<a href="#cssrule">CSSRule</a> <a href="#cssrulelist-item" title=cssrulelist-item>item</a>(unsigned long <var title="">index</var>);
1851-
};</pre>
1843+
represents an ordered collection of CSS statements.
18521844

1853-
<p>The <dfn id=cssrulelist-length
1854-
title=cssrulelist-length><code>length</code></dfn> attribute, on getting,
1855-
<em class=ct>must</em> return the number of items associated with the
1856-
object.
1857-
1858-
<p>The <dfn id=cssrulelist-item title=cssrulelist-item><code>item(<var
1859-
title="">index</var>)</code></dfn> method, when invoked, <em
1860-
class=ct>must</em> return the <code><a href="#cssrule">CSSRule</a></code>
1861-
object in the list given by <var>index</var>, or <code>null</code>, if
1862-
<var>index</var> is greater than or equal to the number of items in the
1863-
list.
1845+
<pre
1846+
class=idl>typedef sequence&lt;<a href="#cssrule">CSSRule</a>> <dfn id=cssrulelist>CSSRuleList</dfn>;</pre>
18641847

18651848
<h4 id=the-cssrule-interface><span class=secno>7.2.2. </span>The <code
18661849
title="">CSSRule</code> Interface</h4>

cssom/Overview.src.html

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,30 +1479,12 @@ <h3>CSS Statements</h3>
14791479
</ol>
14801480

14811481

1482-
<h4>The <code title="">CSSRuleList</code> Interface</h4>
1483-
1484-
<p class="XXX">turn into sequence</p>
1482+
<h4>The <code title="">CSSRuleList</code> Sequence</h4>
14851483

14861484
<p>The <code>CSSRuleList</code> object represents an ordered collection of
1487-
CSS statements. Items in this collection are accessible through an
1488-
integral index, starting from zero.</p>
1489-
1490-
<pre class="idl">interface <dfn>CSSRuleList</dfn> {
1491-
readonly attribute unsigned long <span title="cssrulelist-length">length</span>;
1492-
<span>CSSRule</span> <span title="cssrulelist-item">item</span>(unsigned long <var title="">index</var>);
1493-
};</pre>
1494-
1495-
<p>The
1496-
<dfn id="cssrulelist-length" title="cssrulelist-length"><code>length</code></dfn>
1497-
attribute, on getting, <em class="ct">must</em> return the number of items
1498-
associated with the object.</p>
1485+
CSS statements.</p>
14991486

1500-
<p>The
1501-
<dfn id="cssrulelist-item" title="cssrulelist-item"><code>item(<var title="">index</var>)</code></dfn>
1502-
method, when invoked, <em class="ct">must</em> return the
1503-
<code>CSSRule</code> object in the list given by <var>index</var>, or
1504-
<code>null</code>, if <var>index</var> is greater than or equal to the
1505-
number of items in the list.</p>
1487+
<pre class="idl">typedef sequence&lt;<span>CSSRule</span>> <dfn>CSSRuleList</dfn>;</pre>
15061488

15071489

15081490
<h4>The <code title="">CSSRule</code> Interface</h4>

0 commit comments

Comments
 (0)