2022-02-15 22:40:51 +03:30
|
|
|
#import <CSS/CSSStyleSheet.idl>
|
|
|
|
#import <CSS/MediaList.idl>
|
|
|
|
#import <DOM/Element.idl>
|
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://drafts.csswg.org/cssom/#stylesheet
|
2023-09-03 14:19:49 +12:00
|
|
|
[Exposed=Window]
|
2021-03-08 11:22:18 +01:00
|
|
|
interface StyleSheet {
|
2021-03-08 13:40:53 +01:00
|
|
|
|
2021-03-08 16:16:28 +01:00
|
|
|
readonly attribute CSSOMString type;
|
2022-03-09 19:56:08 +01:00
|
|
|
readonly attribute USVString? href;
|
2023-10-25 17:27:19 +02:00
|
|
|
|
|
|
|
// FIXME: readonly attribute (Element or ProcessingInstruction)? ownerNode;
|
|
|
|
readonly attribute Element? ownerNode;
|
|
|
|
|
2021-09-29 23:46:16 +02:00
|
|
|
readonly attribute CSSStyleSheet? parentStyleSheet;
|
2024-04-28 14:32:52 +01:00
|
|
|
[ImplementedAs=title_for_bindings] readonly attribute DOMString? title;
|
2022-10-23 21:05:34 +03:00
|
|
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
2021-09-29 23:46:16 +02:00
|
|
|
attribute boolean disabled;
|
2021-03-08 13:40:53 +01:00
|
|
|
|
2021-03-08 11:22:18 +01:00
|
|
|
};
|