StyleSheet.idl 624 B

1234567891011121314151617181920
  1. #import <CSS/CSSStyleSheet.idl>
  2. #import <CSS/MediaList.idl>
  3. #import <DOM/Element.idl>
  4. // https://drafts.csswg.org/cssom/#stylesheet
  5. [Exposed=Window]
  6. interface StyleSheet {
  7. readonly attribute CSSOMString type;
  8. readonly attribute USVString? href;
  9. // FIXME: readonly attribute (Element or ProcessingInstruction)? ownerNode;
  10. readonly attribute Element? ownerNode;
  11. readonly attribute CSSStyleSheet? parentStyleSheet;
  12. [ImplementedAs=title_for_bindings] readonly attribute DOMString? title;
  13. [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
  14. attribute boolean disabled;
  15. };