[
CustomToJSObject,
ExportToWrappedFunction,
GenerateIsReachable,
JSCustomHeader,
JSCustomMarkFunction,
] interface CSSRule {
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;
const unsigned short KEYFRAMES_RULE = 7;
const unsigned short KEYFRAME_RULE = 8;
const unsigned short NAMESPACE_RULE = 10;
const unsigned short SUPPORTS_RULE = 12;
[Conditional=CSS_DEVICE_ADAPTATION] const unsigned short WEBKIT_VIEWPORT_RULE = 15;
[Conditional=CSS_REGIONS] const unsigned short WEBKIT_REGION_RULE = 16;
const unsigned short WEBKIT_KEYFRAMES_RULE = 7;
const unsigned short WEBKIT_KEYFRAME_RULE = 8;
readonly attribute unsigned short type;
[SetterMayThrowException] attribute DOMString? cssText;
readonly attribute CSSStyleSheet? parentStyleSheet;
readonly attribute CSSRule? parentRule;
};