Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 4 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | * |
michael@0 | 6 | * The origin of this IDL file is |
michael@0 | 7 | * http://www.whatwg.org/specs/web-apps/current-work/#the-a-element |
michael@0 | 8 | * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis |
michael@0 | 9 | * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and |
michael@0 | 10 | * Opera Software ASA. You are granted a license to use, reproduce |
michael@0 | 11 | * and create derivative works of this document. |
michael@0 | 12 | */ |
michael@0 | 13 | |
michael@0 | 14 | // http://www.whatwg.org/specs/web-apps/current-work/#the-a-element |
michael@0 | 15 | interface HTMLAnchorElement : HTMLElement { |
michael@0 | 16 | [SetterThrows] |
michael@0 | 17 | attribute DOMString target; |
michael@0 | 18 | [SetterThrows] |
michael@0 | 19 | attribute DOMString download; |
michael@0 | 20 | [SetterThrows] |
michael@0 | 21 | attribute DOMString ping; |
michael@0 | 22 | [SetterThrows] |
michael@0 | 23 | attribute DOMString rel; |
michael@0 | 24 | readonly attribute DOMTokenList relList; |
michael@0 | 25 | [SetterThrows] |
michael@0 | 26 | attribute DOMString hreflang; |
michael@0 | 27 | [SetterThrows] |
michael@0 | 28 | attribute DOMString type; |
michael@0 | 29 | |
michael@0 | 30 | [SetterThrows] |
michael@0 | 31 | attribute DOMString text; |
michael@0 | 32 | }; |
michael@0 | 33 | HTMLAnchorElement implements URLUtils; |
michael@0 | 34 | |
michael@0 | 35 | // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis |
michael@0 | 36 | partial interface HTMLAnchorElement { |
michael@0 | 37 | [SetterThrows] |
michael@0 | 38 | attribute DOMString coords; |
michael@0 | 39 | [SetterThrows] |
michael@0 | 40 | attribute DOMString charset; |
michael@0 | 41 | [SetterThrows] |
michael@0 | 42 | attribute DOMString name; |
michael@0 | 43 | [SetterThrows] |
michael@0 | 44 | attribute DOMString rev; |
michael@0 | 45 | [SetterThrows] |
michael@0 | 46 | attribute DOMString shape; |
michael@0 | 47 | }; |