|
32 | 32 | <h1>CSS Object Model (CSSOM)</h1> |
33 | 33 |
|
34 | 34 |
|
35 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 30 May 2013</h2> |
| 35 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 31 May 2013</h2> |
36 | 36 |
|
37 | 37 | <dl> |
38 | 38 |
|
@@ -98,7 +98,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2> |
98 | 98 | can be found in the |
99 | 99 | <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em> |
100 | 100 |
|
101 | | -<p class="dontpublish">This is the 30 May 2013 Editor's Draft of CSSOM. Please send comments to |
| 101 | +<p class="dontpublish">This is the 31 May 2013 Editor's Draft of CSSOM. Please send comments to |
102 | 102 | <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a> |
103 | 103 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
104 | 104 | with <samp>[cssom]</samp> at the start of the subject line. |
@@ -1004,8 +1004,8 @@ <h4 id="the-cssstylesheet-interface"><span class="secno">6.1.2 </span>The <code |
1004 | 1004 | reflected in the returned object.</p> |
1005 | 1005 |
|
1006 | 1006 | <p>The <dfn id="dom-cssstylesheet-insertrule" title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var title="">rule</var>, <var title="">index</var>)</code></dfn> method must <a href="#insert-a-css-rule">insert a CSS |
1007 | | -rule</a> |
1008 | | -<var title="">rule</var> in the CSS rule list returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> at <var title="">index</var>. |
| 1007 | +rule</a> <var title="">rule</var> in the CSS rule list returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> at <var title="">index</var>, and return |
| 1008 | +<var title="">index</var>. |
1009 | 1009 |
|
1010 | 1010 | <p>The <dfn id="dom-cssstylesheet-deleterule" title="dom-CSSStyleSheet-deleteRule"><code>deleteRule(<var title="">index</var>)</code></dfn> method must <a href="#remove-a-css-rule">remove a CSS rule</a> in the CSS rule |
1011 | 1011 | list returned by <code title="dom-CSSStyleSheet-cssRules"><a href="#dom-cssstylesheet-cssrules">cssRules</a></code> at <var title="">index</var>. |
@@ -1763,7 +1763,6 @@ <h3 id="css-rules"><span class="secno">6.4 </span>CSS Rules</h3> |
1763 | 1763 | <code title="">@charset</code> at-rules, <code title="">@import</code> at-rules, and <code title="">@namespace</code> at-rules, |
1764 | 1764 | <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an <code class="external"><a href="http://dom.spec.whatwg.org/#invalidstateerror">InvalidStateError</a></code> exception. |
1765 | 1765 | <li><p>Insert <var title="">new rule</var> into <var title="">list</var> at the zero-indexed position <var title="">index</var>.<p></li> |
1766 | | - <li><p>Return <var title="">index</var>.</li> |
1767 | 1766 | </ol> |
1768 | 1767 | <p class="XXX">DOM-2 CSS specifies that a <code>NO_MODIFICATION_ALLOWED_ERR</code> exception is thrown |
1769 | 1768 | if the style sheet is read-only. Are there any read-only style sheets?</p> |
@@ -1964,7 +1963,8 @@ <h4 id="the-cssmediarule-interface"><span class="secno">6.4.6 </span>The <code t |
1964 | 1963 | specified with the <code title="">@media</code> at-rule.</p> |
1965 | 1964 |
|
1966 | 1965 | <p>The <dfn id="dom-cssmediarule-insertrule" title="dom-CSSMediaRule-insertRule"><code>insertRule(<var title="">rule</var>, <var title="">index</var>)</code></dfn> method must <a href="#insert-a-css-rule">insert a CSS |
1967 | | -rule</a> <var title="">rule</var> into the CSS rule list returned by <code title="dom-CSSMediaRule-cssRules"><a href="#dom-cssmediarule-cssrules">cssRules</a></code> at <var title="">index</var>.</p> |
| 1966 | +rule</a> <var title="">rule</var> into the CSS rule list returned by <code title="dom-CSSMediaRule-cssRules"><a href="#dom-cssmediarule-cssrules">cssRules</a></code> at <var title="">index</var>, and |
| 1967 | +return <var title="">index</var>.</p> |
1968 | 1968 |
|
1969 | 1969 | <p>The <dfn id="dom-cssmediarule-deleterule" title="dom-CSSMediaRule-deleteRule"><code>deleteRule(<var title="">index</var>)</code></dfn> method must <a href="#remove-a-css-rule">remove a CSS rule</a> from the CSS rule |
1970 | 1970 | list returned by <code title="dom-CSSMediaRule-cssRules"><a href="#dom-cssmediarule-cssrules">cssRules</a></code> at <var title="">index</var>.</p> |
|
0 commit comments