2022-04-22 20:22:22 +01:00
|
|
|
#import <CSS/CSSRule.idl>
|
|
|
|
#import <CSS/CSSStyleSheet.idl>
|
|
|
|
#import <CSS/MediaList.idl>
|
|
|
|
|
2023-10-25 17:27:19 +02:00
|
|
|
// https://drafts.csswg.org/cssom/#the-cssimportrule-interface
|
2022-09-05 11:41:26 +02:00
|
|
|
[Exposed=Window]
|
2022-04-22 20:22:22 +01:00
|
|
|
interface CSSImportRule : CSSRule {
|
|
|
|
readonly attribute USVString href;
|
2025-04-09 16:36:07 +01:00
|
|
|
// AD-HOC: media is null if styleSheet is null. Spec issue: https://github.com/w3c/csswg-drafts/issues/12063
|
|
|
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList? media;
|
2025-03-19 13:18:08 +00:00
|
|
|
[SameObject, ImplementedAs=style_sheet_for_bindings] readonly attribute CSSStyleSheet? styleSheet;
|
2024-05-19 22:15:54 +12:00
|
|
|
[FIXME] readonly attribute CSSOMString? layerName;
|
2025-03-19 11:32:34 +00:00
|
|
|
readonly attribute CSSOMString? supportsText;
|
2022-04-22 20:22:22 +01:00
|
|
|
};
|