Bug 160256 - Align CSSSupportsRule with the specification
Summary: Align CSSSupportsRule with the specification
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://drafts.csswg.org/css-conditio...
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-27 09:34 PDT by Chris Dumez
Modified: 2016-07-27 11:05 PDT (History)
6 users (show)

See Also:


Attachments
Patch (12.58 KB, patch)
2016-07-27 10:26 PDT, Chris Dumez
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-07-27 09:34:35 PDT
Align CSSSupportsRule with the specification:
- https://drafts.csswg.org/css-conditional-3/#csssupportsrule

In particular:
- The parameters to insertRule() / deleteRule() should be mandatory
- CSSSupportsRule should be exposed on the global Window object

Both Firefox and Chrome agree with the specification here.
Comment 1 Chris Dumez 2016-07-27 10:26:39 PDT
Created attachment 284707 [details]
Patch
Comment 2 Chris Dumez 2016-07-27 11:05:30 PDT
Committed r203782: <http://trac.webkit.org/changeset/203782>