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