2022-04-22 19:56:22 +01:00
|
|
|
#import <CSS/CSSStyleSheet.idl>
|
|
|
|
|
2022-09-05 11:41:26 +02:00
|
|
|
[Exposed=Window]
|
2021-09-29 19:41:46 +02:00
|
|
|
interface CSSRule {
|
|
|
|
|
2021-10-01 19:57:45 +02:00
|
|
|
attribute CSSOMString cssText;
|
2021-09-29 19:41:46 +02:00
|
|
|
|
2022-04-22 19:56:22 +01:00
|
|
|
readonly attribute CSSRule? parentRule;
|
|
|
|
readonly attribute CSSStyleSheet? parentStyleSheet;
|
|
|
|
|
2022-04-11 21:04:47 +02:00
|
|
|
readonly attribute unsigned short type;
|
|
|
|
|
|
|
|
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 MARGIN_RULE = 9;
|
|
|
|
const unsigned short NAMESPACE_RULE = 10;
|
|
|
|
const unsigned short SUPPORTS_RULE = 12;
|
|
|
|
|
2021-09-29 19:41:46 +02:00
|
|
|
};
|