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

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

            Bug ID: 27384
           Summary: CSSStyleSheet.insertRule's index argument should be
                    optional with default 0
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM
          Assignee: simonp@opera.com
          Reporter: philipj@opera.com
        QA Contact: public-css-bugzilla@w3.org

http://dev.w3.org/csswg/cssom/#cssstylesheet

It's optional with default 0 in WebKit and Blink. There was an attempt to make
it non-optional but it didn't work out:
https://code.google.com/p/chromium/issues/detail?id=319695

When the removal was reverted, a use counter and deprecation message was also
added:
https://www.chromestatus.com/metrics/feature/timeline/popularity/198

This has been in since M32 (reaching stable in January 2014) but there's no
sign of decreasing usage.

Gecko/IE throw an exception if the argument is missing, so maybe it's on
WebKit-specific paths. Maybe there are some sites that would start working in
Gecko/IE if this is spec'd and they make it optional.

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

Received on Thursday, 20 November 2014 22:38:59 UTC