[cssom] Make 'insert a CSS rule' not insert invalid rules. https://www.w3.org/Bugs/Public/show_bug.cgi?id=22769

Mon, 26 Aug 2013 16:33:53 +0200

author
Simon Pieters <simonp@opera.com>
date
Mon, 26 Aug 2013 16:33:53 +0200
changeset 8931
b47ea7ac01c7
parent 8930
77d3edf17f8c
child 8932
809f146f14c0

[cssom] Make 'insert a CSS rule' not insert invalid rules. https://www.w3.org/Bugs/Public/show_bug.cgi?id=22769

cssom/Overview.html file | annotate | diff | comparison | revisions
cssom/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom/Overview.html	Mon Aug 26 16:14:56 2013 +0900
     1.2 +++ b/cssom/Overview.html	Mon Aug 26 16:33:53 2013 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4   <h1>CSS Object Model (CSSOM)</h1>
     1.5  
     1.6  
     1.7 - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 23 August 2013</h2>
     1.8 + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 26 August 2013</h2>
     1.9  
    1.10   <dl>
    1.11  
    1.12 @@ -90,7 +90,7 @@
    1.13  can be found in the
    1.14  <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
    1.15  
    1.16 -<p class="dontpublish">This is the 23 August 2013 Editor's Draft of CSSOM. Please send comments to
    1.17 +<p class="dontpublish">This is the 26 August 2013 Editor's Draft of CSSOM. Please send comments to
    1.18  <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
    1.19  (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
    1.20  with <samp>[cssom]</samp> at the start of the subject line.
    1.21 @@ -1802,6 +1802,8 @@
    1.22   on argument <var>rule</var>.
    1.23   <li><p>If <var>new rule</var> is a syntax error, <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a>
    1.24   a <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#syntaxerror">SyntaxError</a></code> exception.</li>
    1.25 + <li><p>Parse <var>new rule</var> according to the appropriate CSS specifications, dropping parts that are said to be ignored. If the whole style rule is
    1.26 + dropped, <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#syntaxerror">SyntaxError</a></code> exception.
    1.27   <li><p>If <var>new rule</var> is an <code title="">@charset</code> at-rule, <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a
    1.28   <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#syntaxerror">SyntaxError</a></code> exception.
    1.29   <li><p>Set <var>length</var> to the number of items in <var>list</var>.</li>
     2.1 --- a/cssom/Overview.src.html	Mon Aug 26 16:14:56 2013 +0900
     2.2 +++ b/cssom/Overview.src.html	Mon Aug 26 16:33:53 2013 +0200
     2.3 @@ -1723,6 +1723,8 @@
     2.4   on argument <var>rule</var>.
     2.5   <li><p>If <var>new rule</var> is a syntax error, <span data-anolis-spec='dom' title='concept-throw'>throw</span>
     2.6   a <code data-anolis-spec='dom'>SyntaxError</code> exception.</p></li>
     2.7 + <li><p>Parse <var>new rule</var> according to the appropriate CSS specifications, dropping parts that are said to be ignored. If the whole style rule is
     2.8 + dropped, <span data-anolis-spec='dom' title='concept-throw'>throw</span> a <code data-anolis-spec='dom'>SyntaxError</code> exception.
     2.9   <li><p>If <var>new rule</var> is an <code title>@charset</code> at-rule, <span data-anolis-spec='dom' title='concept-throw'>throw</span> a
    2.10   <code data-anolis-spec='dom'>SyntaxError</code> exception.
    2.11   <li><p>Set <var>length</var> to the number of items in <var>list</var>.</p></li>

mercurial