WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(14.28 KB, patch)
2016-07-26 14:38 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-07-26 14:04:23 PDT
Created
attachment 284628
[details]
Patch
Chris Dumez
Comment 2
2016-07-26 14:38:40 PDT
Created
attachment 284632
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug