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

Unified Diff: core/css/CSSRule.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/CSSPrimitiveValue.idl ('k') | core/css/CSSRuleList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/CSSRule.idl
diff --git a/core/css/CSSRule.idl b/core/css/CSSRule.idl
index a708af4080941a6826119f5da86740e253912528..894ef345ebc478e62379becae08584aa7bab1fc6 100644
--- a/core/css/CSSRule.idl
+++ b/core/css/CSSRule.idl
@@ -18,35 +18,41 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in DOM Level 2:
+// http://dev.w3.org/csswg/cssom/#the-cssrule-interface
+
[
- Custom=Wrap,
DependentLifetime,
- NotScriptWrappable,
WillBeGarbageCollected,
] interface CSSRule {
-
- // RuleType
- const unsigned short UNKNOWN_RULE = 0;
const unsigned short STYLE_RULE = 1;
const unsigned short CHARSET_RULE = 2;
const unsigned short IMPORT_RULE = 3;
const unsigned short MEDIA_RULE = 4;
const unsigned short FONT_FACE_RULE = 5;
const unsigned short PAGE_RULE = 6;
+ // TODO(philipj): Implement CSSMarginRule.
+ // const unsigned short MARGIN_RULE = 9;
+ // TODO(philipj): Implement CSSNamespaceRule. crbug.com/389549
+ // const unsigned short NAMESPACE_RULE = 10;
+ readonly attribute unsigned short type;
+ attribute DOMString cssText;
+ readonly attribute CSSRule? parentRule;
+ readonly attribute CSSStyleSheet? parentStyleSheet;
+
+ // CSS Animations
+ // http://dev.w3.org/csswg/css-animations/#interface-cssrule
const unsigned short KEYFRAMES_RULE = 7;
- const unsigned short WEBKIT_KEYFRAMES_RULE = 7;
const unsigned short KEYFRAME_RULE = 8;
- const unsigned short WEBKIT_KEYFRAME_RULE = 8;
- const unsigned short SUPPORTS_RULE = 12;
- [RuntimeEnabled=CSSViewport] const unsigned short VIEWPORT_RULE = 15;
- const unsigned short WEBKIT_FILTER_RULE = 17;
-
- readonly attribute unsigned short type;
- attribute DOMString cssText;
+ // CSS Conditional Rules
+ // http://dev.w3.org/csswg/css-conditional/#extentions-to-cssrule-interface
+ const unsigned short SUPPORTS_RULE = 12;
- readonly attribute CSSStyleSheet parentStyleSheet;
- readonly attribute CSSRule parentRule;
+ // CSS Device Adaptation
+ // http://dev.w3.org/csswg/css-device-adapt/#css-rule-interface
+ [RuntimeEnabled=CSSViewport] const unsigned short VIEWPORT_RULE = 15;
+ // Non-standard APIs
+ const unsigned short WEBKIT_KEYFRAMES_RULE = 7;
+ const unsigned short WEBKIT_KEYFRAME_RULE = 8;
};
« no previous file with comments | « core/css/CSSPrimitiveValue.idl ('k') | core/css/CSSRuleList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698