// Introduced in DOM Level 2:
[
- CustomToV8,
- DependentLifetime
+ Custom=Wrap,
+ DependentLifetime,
+ NotScriptWrappable,
+ WillBeGarbageCollected,
] interface CSSRule {
// RuleType
const unsigned short WEBKIT_KEYFRAME_RULE = 8;
const unsigned short SUPPORTS_RULE = 12;
[RuntimeEnabled=CSSViewport] const unsigned short VIEWPORT_RULE = 15;
- [RuntimeEnabled=CSSRegions] const unsigned short WEBKIT_REGION_RULE = 16;
const unsigned short WEBKIT_FILTER_RULE = 17;
- const unsigned short HOST_RULE = 1001;
readonly attribute unsigned short type;
- [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString cssText;
+ attribute DOMString cssText;
readonly attribute CSSStyleSheet parentStyleSheet;
readonly attribute CSSRule parentRule;