[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 #12 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to Boris Zbarsky from comment #10)
> > Per WebIDL trailing undefined arguments are treated as missing arguments
> 
> Right, so if we make insertRule(rule) append, that would make
> insertRule(rule, undefined) also append unless we took some special pains to
> avoid that (involving overloads that check the arg count).  Which is not
> what it does in any browser right now.

Oh, right you are.

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

Received on Tuesday, 25 November 2014 08:34:52 UTC