OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * |
| 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. |
| 9 * |
| 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. |
| 14 * |
| 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 |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. |
| 19 */ |
| 20 |
| 21 module html { |
| 22 |
| 23 interface HTMLBodyElement : HTMLElement { |
| 24 attribute [Reflect] DOMString aLink; |
| 25 attribute [Reflect] DOMString background; |
| 26 attribute [Reflect] DOMString bgColor; |
| 27 attribute [Reflect] DOMString link; |
| 28 attribute [Reflect] DOMString text; |
| 29 attribute [Reflect] DOMString vLink; |
| 30 |
| 31 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 32 // Event handler attributes |
| 33 attribute [NotEnumerable, JSWindowEventListener] EventListener onbeforeu
nload; |
| 34 attribute [NotEnumerable, JSWindowEventListener] EventListener onhashcha
nge; |
| 35 attribute [NotEnumerable, JSWindowEventListener] EventListener onmessage
; |
| 36 attribute [NotEnumerable, JSWindowEventListener] EventListener onoffline
; |
| 37 attribute [NotEnumerable, JSWindowEventListener] EventListener ononline; |
| 38 attribute [NotEnumerable, JSWindowEventListener] EventListener onpopstat
e; |
| 39 attribute [NotEnumerable, JSWindowEventListener] EventListener onresize; |
| 40 attribute [NotEnumerable, JSWindowEventListener] EventListener onstorage
; |
| 41 attribute [NotEnumerable, JSWindowEventListener] EventListener onunload; |
| 42 |
| 43 attribute [Conditional=ORIENTATION_EVENTS, NotEnumerable, JSWindowEventL
istener] EventListener onorientationchange; |
| 44 |
| 45 // Overrides of Element attributes (with different implementation in bin
dings). |
| 46 attribute [NotEnumerable, JSWindowEventListener] EventListener onblur; |
| 47 attribute [NotEnumerable, JSWindowEventListener] EventListener onerror; |
| 48 attribute [NotEnumerable, JSWindowEventListener] EventListener onfocus; |
| 49 attribute [NotEnumerable, JSWindowEventListener] EventListener onload; |
| 50 |
| 51 // Not implemented yet. |
| 52 // attribute [NotEnumerable, JSWindowEventListener] EventListener onafte
rprint; |
| 53 // attribute [NotEnumerable, JSWindowEventListener] EventListener onbefo
reprint; |
| 54 // attribute [NotEnumerable, JSWindowEventListener] EventListener onredo
; |
| 55 // attribute [NotEnumerable, JSWindowEventListener] EventListener onundo
; |
| 56 #endif |
| 57 }; |
| 58 |
| 59 } |
OLD | NEW |