Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1571)

Unified Diff: core/css/CSSSupportsRule.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/css/CSSStyleSheet.idl ('k') | core/css/CSSUnknownRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/CSSSupportsRule.idl
diff --git a/core/css/CSSSupportsRule.idl b/core/css/CSSSupportsRule.idl
index b2aa0cc8dee42282de769a89b5df758c14ba0790..d06a77968f98de5710c196f6b32a70ffdc84219a 100644
--- a/core/css/CSSSupportsRule.idl
+++ b/core/css/CSSSupportsRule.idl
@@ -26,13 +26,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface CSSSupportsRule : CSSRule {
- readonly attribute CSSRuleList cssRules;
- readonly attribute DOMString conditionText;
+// http://dev.w3.org/csswg/css-conditional/#the-csssupportsrule-interface
- [RaisesException] unsigned long insertRule([Default=Undefined] optional DOMString rule,
- [Default=Undefined] optional unsigned long index);
- [RaisesException] void deleteRule([Default=Undefined] optional unsigned long index);
+// TODO(philipj): CSSSupportsRule should inherit from CSSConditionRule and
+// inherit all members.
+interface CSSSupportsRule : CSSRule {
+ // http://dev.w3.org/csswg/css-conditional/#the-cssconditionrule-interface
+ readonly attribute DOMString conditionText;
+ // http://dev.w3.org/csswg/cssom/#the-cssgroupingrule-interface
+ [SameObject] readonly attribute CSSRuleList cssRules;
+ [RaisesException] unsigned long insertRule(DOMString rule, unsigned long index);
+ [RaisesException] void deleteRule(unsigned long index);
};
« no previous file with comments | « core/css/CSSStyleSheet.idl ('k') | core/css/CSSUnknownRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698