commit | 4001c90ce49ffcd7eb2a28b0e38fc9c0c9373f9e | [log] [tgz] |
---|---|---|
author | philipj@opera.com <philipj@opera.com> | Mon Dec 15 08:49:50 2014 |
committer | philipj@opera.com <philipj@opera.com> | Mon Dec 15 08:49:50 2014 |
tree | 841c0d54c01ecb0d0508d2b4a510da9868e9eefd | |
parent | e806e5cea0e3509ced4490108283737d51ef9fb8 [diff] |
Make CSSSupportsRule function arguments non-optional http://dev.w3.org/csswg/css-conditional/#the-csssupportsrule-interface http://dev.w3.org/csswg/css-conditional/#the-cssconditionrule-interface http://dev.w3.org/csswg/css-conditional/#the-cssgroupingrule-interface Per spec CSSSupportsRule and CSSMediaRule inherits from CSSConditionRule which inherits from CSSGroupingRule, which is where insertRule() and deleteRule() live. We expose neither CSSConditionRule nor CSSGroupingRule, but this change aligns CSSSupportsRule with CSSMediaRule, so that introducing CSSGroupingRule becomes a smaller change. Firefox Nightly already throws exceptions when insertRule() or deleteRule() arguments are omitted. IE11 does not support @supports. Review URL: https://codereview.chromium.org/797013002 git-svn-id: svn://svn.chromium.org/blink/trunk@187121 bbb929c8-8fbe-4397-9dbb-9b2b20218538