|
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 file, |
|
4 * You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 * |
|
6 * The origin of this IDL file is |
|
7 * http://www.whatwg.org/specs/web-apps/current-work/#the-a-element |
|
8 * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis |
|
9 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and |
|
10 * Opera Software ASA. You are granted a license to use, reproduce |
|
11 * and create derivative works of this document. |
|
12 */ |
|
13 |
|
14 // http://www.whatwg.org/specs/web-apps/current-work/#the-a-element |
|
15 interface HTMLAnchorElement : HTMLElement { |
|
16 [SetterThrows] |
|
17 attribute DOMString target; |
|
18 [SetterThrows] |
|
19 attribute DOMString download; |
|
20 [SetterThrows] |
|
21 attribute DOMString ping; |
|
22 [SetterThrows] |
|
23 attribute DOMString rel; |
|
24 readonly attribute DOMTokenList relList; |
|
25 [SetterThrows] |
|
26 attribute DOMString hreflang; |
|
27 [SetterThrows] |
|
28 attribute DOMString type; |
|
29 |
|
30 [SetterThrows] |
|
31 attribute DOMString text; |
|
32 }; |
|
33 HTMLAnchorElement implements URLUtils; |
|
34 |
|
35 // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis |
|
36 partial interface HTMLAnchorElement { |
|
37 [SetterThrows] |
|
38 attribute DOMString coords; |
|
39 [SetterThrows] |
|
40 attribute DOMString charset; |
|
41 [SetterThrows] |
|
42 attribute DOMString name; |
|
43 [SetterThrows] |
|
44 attribute DOMString rev; |
|
45 [SetterThrows] |
|
46 attribute DOMString shape; |
|
47 }; |