nsIDOMHTMLAnchorElement.idl 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "nsIDOMHTMLElement.idl"
  6. /**
  7. * The nsIDOMHTMLAnchorElement interface is the interface to a [X]HTML
  8. * a element.
  9. *
  10. * This interface is trying to follow the DOM Level 2 HTML specification:
  11. * http://www.w3.org/TR/DOM-Level-2-HTML/
  12. *
  13. * with changes from the work-in-progress WHATWG HTML specification:
  14. * http://www.whatwg.org/specs/web-apps/current-work/
  15. */
  16. [uuid(339c01c8-2d41-4626-b231-eec63f0241b6)]
  17. interface nsIDOMHTMLAnchorElement : nsISupports
  18. {
  19. attribute DOMString href;
  20. attribute DOMString target;
  21. attribute DOMString ping;
  22. attribute DOMString download;
  23. attribute DOMString rel;
  24. attribute DOMString hreflang;
  25. attribute DOMString type;
  26. /**
  27. * An alias for the textContent attribute.
  28. */
  29. [Null(Stringify)]
  30. attribute DOMString text;
  31. // URL decomposition IDL attributes
  32. attribute DOMString protocol;
  33. attribute DOMString host;
  34. attribute DOMString hostname;
  35. attribute DOMString port;
  36. attribute DOMString pathname;
  37. attribute DOMString search;
  38. attribute DOMString hash;
  39. attribute DOMString charset;
  40. attribute DOMString coords;
  41. attribute DOMString name;
  42. attribute DOMString rev;
  43. attribute DOMString shape;
  44. DOMString toString();
  45. };