OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 interface HTMLBodyElement : HTMLElement { | 21 interface HTMLBodyElement : HTMLElement { |
22 [Reflect] attribute DOMString aLink; | 22 [Reflect] attribute DOMString aLink; |
23 [Reflect] attribute DOMString background; | 23 [Reflect] attribute DOMString background; |
24 [Reflect] attribute DOMString bgColor; | 24 [Reflect] attribute DOMString bgColor; |
25 [Reflect] attribute DOMString link; | 25 [Reflect] attribute DOMString link; |
26 [Reflect] attribute DOMString text; | 26 [Reflect] attribute DOMString text; |
27 [Reflect] attribute DOMString vLink; | 27 [Reflect] attribute DOMString vLink; |
28 | 28 |
29 // Event handler attributes | 29 // Event handler attributes |
30 [NotEnumerable] attribute EventListener onbeforeunload; | 30 [NotEnumerable] attribute EventHandler onbeforeunload; |
31 [NotEnumerable] attribute EventListener onhashchange; | 31 [NotEnumerable] attribute EventHandler onhashchange; |
32 [NotEnumerable] attribute EventListener onmessage; | 32 [NotEnumerable] attribute EventHandler onmessage; |
33 [NotEnumerable] attribute EventListener onoffline; | 33 [NotEnumerable] attribute EventHandler onoffline; |
34 [NotEnumerable] attribute EventListener ononline; | 34 [NotEnumerable] attribute EventHandler ononline; |
35 [NotEnumerable] attribute EventListener onpopstate; | 35 [NotEnumerable] attribute EventHandler onpopstate; |
36 [NotEnumerable] attribute EventListener onresize; | 36 [NotEnumerable] attribute EventHandler onresize; |
37 [NotEnumerable] attribute EventListener onstorage; | 37 [NotEnumerable] attribute EventHandler onstorage; |
38 [NotEnumerable] attribute EventListener onunload; | 38 [NotEnumerable] attribute EventHandler onunload; |
39 | 39 |
40 [Conditional=ORIENTATION_EVENTS, NotEnumerable] attribute EventListener onor
ientationchange; | 40 [Conditional=ORIENTATION_EVENTS, NotEnumerable] attribute EventHandler onori
entationchange; |
41 | 41 |
42 // Overrides of Element attributes (with different implementation in binding
s). | 42 // Overrides of Element attributes (with different implementation in binding
s). |
43 [NotEnumerable] attribute EventListener onblur; | 43 [NotEnumerable] attribute EventHandler onblur; |
44 [NotEnumerable] attribute EventListener onerror; | 44 [NotEnumerable] attribute EventHandler onerror; |
45 [NotEnumerable] attribute EventListener onfocus; | 45 [NotEnumerable] attribute EventHandler onfocus; |
46 [NotEnumerable] attribute EventListener onload; | 46 [NotEnumerable] attribute EventHandler onload; |
47 | 47 |
48 // Not implemented yet. | 48 // Not implemented yet. |
49 // attribute [NotEnumerable] EventListener onafterprint; | 49 // attribute [NotEnumerable] EventHandler onafterprint; |
50 // attribute [NotEnumerable] EventListener onbeforeprint; | 50 // attribute [NotEnumerable] EventHandler onbeforeprint; |
51 // attribute [NotEnumerable] EventListener onredo; | 51 // attribute [NotEnumerable] EventHandler onredo; |
52 // attribute [NotEnumerable] EventListener onundo; | 52 // attribute [NotEnumerable] EventHandler onundo; |
53 }; | 53 }; |
54 | 54 |
OLD | NEW |