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