HTMLAnchorElement.idl 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. #import <Fetch/Request.idl>
  2. #import <HTML/HTMLElement.idl>
  3. #import <HTML/HTMLHyperlinkElementUtils.idl>
  4. // https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement
  5. [Exposed=Window]
  6. interface HTMLAnchorElement : HTMLElement {
  7. [HTMLConstructor] constructor();
  8. [CEReactions, Reflect] attribute DOMString target;
  9. [CEReactions, Reflect] attribute DOMString download;
  10. [CEReactions, Reflect] attribute USVString ping;
  11. [CEReactions, Reflect] attribute DOMString rel;
  12. [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
  13. [CEReactions, Reflect] attribute DOMString hreflang;
  14. [CEReactions, Reflect] attribute DOMString type;
  15. [CEReactions] attribute DOMString text;
  16. [CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
  17. // Obsolete
  18. [CEReactions, Reflect] attribute DOMString coords;
  19. [CEReactions, Reflect] attribute DOMString charset;
  20. [CEReactions, Reflect] attribute DOMString name;
  21. [CEReactions, Reflect] attribute DOMString rev;
  22. [CEReactions, Reflect] attribute DOMString shape;
  23. };
  24. HTMLAnchorElement includes HTMLHyperlinkElementUtils;