-
Notifications
You must be signed in to change notification settings - Fork 791
Expand file tree
/
Copy pathCSSImportRule.idl
More file actions
executable file
·27 lines (23 loc) · 1.09 KB
/
CSSImportRule.idl
File metadata and controls
executable file
·27 lines (23 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Documentation=
"<p>The {@name} {@type} represents an <code>@import</code> rule.</p>"
]
interface CSSImportRule : CSSRule {
[Documentation=
"<p>The {@name} {@type} must return the <span>URL</span> specified by the <code>@import</code> rule.</p>\
<p class='note'>To get the resolved <span>URL</span> use the <code title='dom-StyleSheet-href'>href</code>\
attribute of the associated <span>style sheet</span>.</p>"
]
readonly attribute DOMString href;
[PutForwards=mediaText,
Documentation=
"<p>The {@name} {@type} must return the value of the <code title='dom-StyleSheet-media'>media</code>\
attribute of the associated <span>style sheet</span>.</p>"
]
readonly attribute MediaList media;
[Documentation=
"<p>The {@name} {@type} must return the associated <span>style sheet</span>.</p>\
<p class='note'>If loading of the style sheet fails its <code title='dom-CSSStyleSheet-cssRules'>cssRules</code>\
list is simply empty, i.e., an <code>@import</code> rule always has an associated <span>style sheet</span>.</p>"
]
readonly attribute CSSStyleSheet styleSheet;
};