REGRESSION (r181358 and r181507): Lots of sites think that we support touch events...
[WebKit-https.git] / Source / WebCore / html / HTMLBodyElement.idl
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 interface HTMLBodyElement : HTMLElement {
22     [Reflect] attribute DOMString aLink;
23     [Reflect] attribute DOMString background;
24     [Reflect] attribute DOMString bgColor;
25     [Reflect] attribute DOMString link;
26     [Reflect] attribute DOMString text;
27     [Reflect] attribute DOMString vLink;
28
29     [NotEnumerable, WindowEventHandler] attribute EventHandler onbeforeunload;
30     [NotEnumerable, WindowEventHandler] attribute EventHandler onblur;
31     [NotEnumerable, WindowEventHandler] attribute EventHandler onerror;
32     [NotEnumerable, WindowEventHandler] attribute EventHandler onfocus;
33     [NotEnumerable, WindowEventHandler] attribute EventHandler onfocusin;
34     [NotEnumerable, WindowEventHandler] attribute EventHandler onfocusout;
35     [NotEnumerable, WindowEventHandler] attribute EventHandler onhashchange;
36     [NotEnumerable, WindowEventHandler] attribute EventHandler onload;
37     [NotEnumerable, WindowEventHandler] attribute EventHandler onmessage;
38     [NotEnumerable, WindowEventHandler] attribute EventHandler onoffline;
39     [NotEnumerable, WindowEventHandler] attribute EventHandler ononline;
40     [NotEnumerable, WindowEventHandler] attribute EventHandler onpagehide;
41     [NotEnumerable, WindowEventHandler] attribute EventHandler onpageshow;
42     [NotEnumerable, WindowEventHandler] attribute EventHandler onpopstate;
43     [NotEnumerable, WindowEventHandler] attribute EventHandler onresize;
44     [NotEnumerable, WindowEventHandler] attribute EventHandler onscroll;
45     [NotEnumerable, WindowEventHandler] attribute EventHandler onstorage;
46     [NotEnumerable, WindowEventHandler] attribute EventHandler onunload;
47
48     [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcecancelled;
49     [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcechanged;
50     [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforceclick;
51     [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcedown;
52     [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforcewillbegin;
53     [NotEnumerable, WindowEventHandler, Conditional=MOUSE_FORCE_EVENTS] attribute EventHandler onwebkitmouseforceup;
54
55     [NotEnumerable, WindowEventHandler, Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
56
57     [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealbottom;
58     [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealleft;
59     [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealright;
60     [NotEnumerable, WindowEventHandler, Conditional=WILL_REVEAL_EDGE_EVENTS] attribute EventHandler onwebkitwillrevealtop;
61
62     [NotEnumerable, DocumentEventHandler] attribute EventHandler onselectionchange;
63 };
64