[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 #10 from Boris Zbarsky <bzbarsky@mit.edu> ---
> 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.

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

Received on Monday, 24 November 2014 16:06:07 UTC