2022-04-22 16:22:22 -03:00
|
|
|
#import <CSS/CSSRule.idl>
|
|
|
|
|
#import <CSS/CSSStyleSheet.idl>
|
|
|
|
|
#import <CSS/MediaList.idl>
|
|
|
|
|
|
2023-10-25 12:27:19 -03:00
|
|
|
// https://drafts.csswg.org/cssom/#the-cssimportrule-interface
|
2022-09-05 06:41:26 -03:00
|
|
|
[Exposed=Window]
|
2022-04-22 16:22:22 -03:00
|
|
|
interface CSSImportRule : CSSRule {
|
|
|
|
|
readonly attribute USVString href;
|
2025-04-09 12:36:07 -03: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 10:18:08 -03:00
|
|
|
[SameObject, ImplementedAs=style_sheet_for_bindings] readonly attribute CSSStyleSheet? styleSheet;
|
2024-05-19 07:15:54 -03:00
|
|
|
[FIXME] readonly attribute CSSOMString? layerName;
|
2025-03-19 08:32:34 -03:00
|
|
|
readonly attribute CSSOMString? supportsText;
|
2022-04-22 16:22:22 -03:00
|
|
|
};
|