HTMLLinkElement.idl 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. #import <CSS/LinkStyle.idl>
  2. #import <HTML/HTMLElement.idl>
  3. // https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement
  4. [Exposed=Window]
  5. interface HTMLLinkElement : HTMLElement {
  6. [HTMLConstructor] constructor();
  7. [CEReactions, Reflect] attribute DOMString href;
  8. // FIXME: [CEReactions] attribute DOMString? crossOrigin;
  9. [CEReactions, Reflect] attribute DOMString rel;
  10. // FIXME: [CEReactions] attribute DOMString as;
  11. // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
  12. [CEReactions, Reflect] attribute DOMString media;
  13. [CEReactions, Reflect] attribute DOMString integrity;
  14. [CEReactions, Reflect] attribute DOMString hreflang;
  15. [CEReactions, Reflect] attribute DOMString type;
  16. // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList sizes;
  17. [CEReactions, Reflect=imagesrcset] attribute DOMString imageSrcset;
  18. [CEReactions, Reflect=imagesizes] attribute DOMString imageSizes;
  19. // FIXME: [CEReactions] attribute DOMString referrerPolicy;
  20. // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
  21. [CEReactions, Reflect] attribute boolean disabled;
  22. // FIXME: [CEReactions] attribute DOMString fetchPriority;
  23. // Obsolete
  24. [CEReactions, Reflect] attribute DOMString charset;
  25. [CEReactions, Reflect] attribute DOMString rev;
  26. [CEReactions, Reflect] attribute DOMString target;
  27. };
  28. // FIXME: HTMLLinkElement includes LinkStyle;