[cssom] Throw for insertRule('@charset ...',0). https://www.w3.org/Bugs/Public/show_bug.cgi?id=22207

Thu, 30 May 2013 13:08:37 +0200

author
Simon Pieters <simonp@opera.com>
date
Thu, 30 May 2013 13:08:37 +0200
changeset 8285
65eca5112d32
parent 8284
66ac6171474c
child 8286
c85dd8cf80fc

[cssom] Throw for insertRule('@charset ...',0). https://www.w3.org/Bugs/Public/show_bug.cgi?id=22207

cssom/Overview.html file | annotate | diff | comparison | revisions
cssom/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom/Overview.html	Thu May 30 13:07:12 2013 +0200
     1.2 +++ b/cssom/Overview.html	Thu May 30 13:08:37 2013 +0200
     1.3 @@ -995,6 +995,8 @@
     1.4   <li><p>Set <var>newRule</var> to the results of performing <a href="#parse-a-css-rule">parse a CSS rule</a>
     1.5   on argument <var>rule</var>, <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throwing</a>
     1.6   a <code class="external"><a href="http://dom.spec.whatwg.org/#syntaxerror">SyntaxError</a></code> exception if a parse error occurs.</li>
     1.7 + <li><p>If <var title="">newRule</var> is an <code title="">@charset</code> at-rule, <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a
     1.8 + <code class="external"><a href="http://dom.spec.whatwg.org/#syntaxerror">SyntaxError</a></code> exception.
     1.9   <li><p>Set <var>N</var> to <code>cssLength.length</code>.</li>
    1.10   <li><p>If argument <var>index</var> is greater than <var>N</var>, then <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a>
    1.11   an <code class="external"><a href="http://dom.spec.whatwg.org/#indexsizeerror">IndexSizeError</a></code> exception.</li>
     2.1 --- a/cssom/Overview.src.html	Thu May 30 13:07:12 2013 +0200
     2.2 +++ b/cssom/Overview.src.html	Thu May 30 13:08:37 2013 +0200
     2.3 @@ -925,6 +925,8 @@
     2.4   <li><p>Set <var>newRule</var> to the results of performing <span>parse a CSS rule</span>
     2.5   on argument <var>rule</var>, <span data-anolis-spec='dom' title='concept-throw'>throwing</span>
     2.6   a <code data-anolis-spec='dom'>SyntaxError</code> exception if a parse error occurs.</p></li>
     2.7 + <li><p>If <var title>newRule</var> is an <code title>@charset</code> at-rule, <span data-anolis-spec='dom' title='concept-throw'>throw</span> a
     2.8 + <code data-anolis-spec='dom'>SyntaxError</code> exception.
     2.9   <li><p>Set <var>N</var> to <code>cssLength.length</code>.</p></li>
    2.10   <li><p>If argument <var>index</var> is greater than <var>N</var>, then <span data-anolis-spec='dom' title='concept-throw'>throw</span>
    2.11   an <code data-anolis-spec='dom'>IndexSizeError</code> exception.</p></li>

mercurial