OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 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 HTMLFormElement : HTMLElement { | 21 interface HTMLFormElement : HTMLElement { |
22 [Reflect=accept_charset, TreatNullAs=NullString] attribute DOMString acceptC
harset; | 22 [Reflect=accept_charset] attribute DOMString acceptCharset; |
23 [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=Set
terForIsolatedWorlds] attribute DOMString action; | 23 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at
tribute DOMString action; |
24 [Reflect, TreatNullAs=NullString] attribute DOMString autocomplete; | 24 [Reflect] attribute DOMString autocomplete; |
25 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString enctype
; | 25 [CustomElementCallbacks] attribute DOMString enctype; |
26 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString encodin
g; | 26 [CustomElementCallbacks] attribute DOMString encoding; |
27 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString method; | 27 [CustomElementCallbacks] attribute DOMString method; |
28 [Reflect, TreatNullAs=NullString] attribute DOMString name; | 28 [Reflect] attribute DOMString name; |
29 [Reflect] attribute boolean noValidate; | 29 [Reflect] attribute boolean noValidate; |
30 [Reflect, TreatNullAs=NullString] attribute DOMString target; | 30 [Reflect] attribute DOMString target; |
31 | 31 |
32 readonly attribute HTMLCollection elements; | 32 readonly attribute HTMLCollection elements; |
33 readonly attribute long length; | 33 readonly attribute long length; |
34 [ImplementedAs=item] getter Node(unsigned long index); | 34 [ImplementedAs=item] getter Node(unsigned long index); |
35 [ImplementedAs=anonymousNamedGetter, OverrideBuiltins, NotEnumerable] getter
(NodeList or Node)(DOMString name); | 35 [ImplementedAs=anonymousNamedGetter, OverrideBuiltins, NotEnumerable] getter
(NodeList or Node)(DOMString name); |
36 | 36 |
37 [ImplementedAs=submitFromJavaScript, PerWorldBindings, ActivityLogging=Sette
rForIsolatedWorlds] void submit(); | 37 [ImplementedAs=submitFromJavaScript, PerWorldBindings, ActivityLogging=Sette
rForIsolatedWorlds] void submit(); |
38 [CustomElementCallbacks] void reset(); | 38 [CustomElementCallbacks] void reset(); |
39 boolean checkValidity(); | 39 boolean checkValidity(); |
40 | 40 |
41 [RuntimeEnabled=RequestAutocomplete] void requestAutocomplete(); | 41 [RuntimeEnabled=RequestAutocomplete] void requestAutocomplete(); |
42 [RuntimeEnabled=RequestAutocomplete] attribute EventHandler onautocomplete; | 42 [RuntimeEnabled=RequestAutocomplete] attribute EventHandler onautocomplete; |
43 [RuntimeEnabled=RequestAutocomplete] attribute EventHandler onautocompleteer
ror; | 43 [RuntimeEnabled=RequestAutocomplete] attribute EventHandler onautocompleteer
ror; |
44 }; | 44 }; |
OLD | NEW |