| Index: third_party/WebCore/css/DOMWindowCSS.idl
|
| diff --git a/third_party/WebCore/css/CSSSupportsRule.idl b/third_party/WebCore/css/DOMWindowCSS.idl
|
| similarity index 76%
|
| copy from third_party/WebCore/css/CSSSupportsRule.idl
|
| copy to third_party/WebCore/css/DOMWindowCSS.idl
|
| index c533882d90a106fc69c3c44cea53f01a239a081a..aed4cf7f00f22109e2a49077f3a61a80aeabe4d0 100644
|
| --- a/third_party/WebCore/css/CSSSupportsRule.idl
|
| +++ b/third_party/WebCore/css/DOMWindowCSS.idl
|
| @@ -1,4 +1,5 @@
|
| -/* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved.
|
| +/*
|
| + * Copyright (C) 2012 Motorola Mobility Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -27,13 +28,12 @@
|
| */
|
|
|
| [
|
| + InterfaceName=CSS,
|
| Conditional=CSS3_CONDITIONAL_RULES
|
| -] interface CSSSupportsRule : CSSRule {
|
| - readonly attribute CSSRuleList cssRules;
|
| - readonly attribute DOMString conditionText;
|
| +] interface DOMWindowCSS {
|
| +
|
| + boolean supports(DOMString property, DOMString value);
|
| + boolean supports(DOMString conditionText);
|
|
|
| - unsigned long insertRule(in [Optional=DefaultIsUndefined] DOMString rule,
|
| - in [Optional=DefaultIsUndefined] unsigned long index) raises(DOMException);
|
| - void deleteRule(in [Optional=DefaultIsUndefined] unsigned long index) raises(DOMException);
|
| };
|
|
|
|
|