diff options
Diffstat (limited to 'components/script/dom/webidls/HTMLAnchorElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLAnchorElement.webidl | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/components/script/dom/webidls/HTMLAnchorElement.webidl b/components/script/dom/webidls/HTMLAnchorElement.webidl index 41026e25bce..f6e48281102 100644 --- a/components/script/dom/webidls/HTMLAnchorElement.webidl +++ b/components/script/dom/webidls/HTMLAnchorElement.webidl @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ /* * The origin of this IDL file is * https://html.spec.whatwg.org/multipage/#the-a-element @@ -11,27 +11,41 @@ */ // https://html.spec.whatwg.org/multipage/#htmlanchorelement +[Exposed=Window] interface HTMLAnchorElement : HTMLElement { + [HTMLConstructor] constructor(); + + [CEReactions] attribute DOMString target; + // [CEReactions] // attribute DOMString download; + // [CEReactions] // attribute USVString ping; + [CEReactions] attribute DOMString rel; - readonly attribute DOMTokenList relList; + [SameObject, PutForwards=value] readonly attribute DOMTokenList relList; + // [CEReactions] // attribute DOMString hreflang; + // [CEReactions] // attribute DOMString type; - [Pure] + [CEReactions, Pure] attribute DOMString text; // also has obsolete members }; -HTMLAnchorElement implements HTMLHyperlinkElementUtils; +HTMLAnchorElement includes HTMLHyperlinkElementUtils; // https://html.spec.whatwg.org/multipage/#HTMLAnchorElement-partial partial interface HTMLAnchorElement { + [CEReactions] attribute DOMString coords; - // attribute DOMString charset; + // [CEReactions] + // attribute DOMString charset; + [CEReactions] attribute DOMString name; + [CEReactions] attribute DOMString rev; + [CEReactions] attribute DOMString shape; }; |