HTMLLinkElement.idl 1.6 KB

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