[Bug 27384] CSSStyleSheet.insertRule's index argument should be optional with default 0

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

--- Comment #16 from Philip Jägenstedt <philipj@opera.com> ---
I think it would be spec'd as addRule(DOMString selector, DOMString style,
optional unsigned long index) with no default value for index. undefined vs.
missing argument wouldn't be an issue because nobody has shipped addRule with a
non-optional index argument, I assume.

It's not a given that addRule will have to be standardized, making insertRule
append would just be a precaution, and it's not crazy independent of addRule
either.

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

Received on Wednesday, 26 November 2014 15:43:46 UTC