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
3 files changed
tree: 841c0d54c01ecb0d0508d2b4a510da9868e9eefd
  1. third_party/