css3-conditional/Overview.html

changeset 7412
3b40faa91133
parent 7393
139db90ee7b2
child 7538
9d25222da9cb
     1.1 --- a/css3-conditional/Overview.html	Fri Feb 08 14:04:09 2013 -0800
     1.2 +++ b/css3-conditional/Overview.html	Fri Feb 08 21:43:29 2013 -0800
     1.3 @@ -1172,13 +1172,14 @@
     1.4      by one. It must throw INDEX_SIZE_ERR if index is greater than
     1.5      <code>cssRules.length</code>. It must throw SYNTAX_ERR if the rule has a
     1.6      syntax error and is unparseable; this does not include syntax errors
     1.7 -    handled by error handling rules for constructs inside of the rule. It
     1.8 +    handled by error handling rules for constructs inside of the rule, but
     1.9 +    this does include cases where the string given does not parse into a
    1.10 +    single CSS rule (such as when the string is empty) or where there is
    1.11 +    anything other than whitespace or comments after that single CSS rule. It
    1.12      must throw HIERARCHY_REQUEST_ERR if the rule cannot be inserted at the
    1.13      location specified, for example, if an ‘<code
    1.14 -    class=css>@import</code>’ rule is inserted inside a group rule. <span
    1.15 -    class=issue>This needs to specify what to do if <code>rule</code> is the
    1.16 -    empty string, if it contains more than one CSS rule, or if it contains
    1.17 -    garbage after a valid rule.</span>
    1.18 +    class=css>@import</code>’ rule is inserted inside a group rule.
    1.19 +    <p>The return value is the <var>index</var> parameter.
    1.20  
    1.21     <dt><code>deleteRule (unsigned long index)</code>, return
    1.22      <code>void</code>

mercurial