RESOLVED FIXED 160210
Parameters to CSSStyleSheet.insertRule() / deleteRule() should be mandatory
https://bugs.webkit.org/show_bug.cgi?id=160210
Summary Parameters to CSSStyleSheet.insertRule() / deleteRule() should be mandatory
Chris Dumez
Reported 2016-07-26 13:46:36 PDT
Parameters to CSSStyleSheet.insertRule() / deleteRule() should be mandatory: - https://drafts.csswg.org/cssom/#cssstylesheet They are mandatory in Firefox. They are mandatory in Chrome except for the second parameter of insertRule() which merely logs a deprecation warning. I propose to match Chrome's behavior to move towards to specification while limiting the risk of breakage.
Attachments
Patch (13.00 KB, patch)
2016-07-26 14:04 PDT, Chris Dumez
no flags
Patch (14.28 KB, patch)
2016-07-26 14:38 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-07-26 14:04:23 PDT
Chris Dumez
Comment 2 2016-07-26 14:38:40 PDT
Chris Dumez
Comment 3 2016-07-26 15:01:33 PDT
Comment on attachment 284632 [details] Patch Clearing flags on attachment: 284632 Committed r203740: <http://trac.webkit.org/changeset/203740>
Chris Dumez
Comment 4 2016-07-26 15:01:37 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.