[Bug 17520] does not specify how to handle multiple rules on insertRule

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17520

Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simonp@opera.com
         Resolution|---                         |FIXED

--- Comment #3 from Simon Pieters <simonp@opera.com> ---
This was fixed as part of integration with css-syntax. If you have multiple
rules, css-syntax returns a syntax error:

[[
If the current input token is an 〈EOF〉, return the rule obtained in step 2.
Otherwise, return a syntax error.
]]
http://dev.w3.org/csswg/css-syntax/#parse-a-rule0

and CSSOM then throws SyntaxError:

[[
If new rule is a syntax error, throw a SyntaxError exception.
]]
http://dev.w3.org/csswg/cssom/#insert-a-css-rule

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 27 June 2013 12:58:26 UTC