| 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 [ | 21 [ |
| 22 IndexedGetter, | |
| 23 CustomIndexedGetter, | 22 CustomIndexedGetter, |
| 24 CustomNamedGetter | 23 CustomNamedGetter |
| 25 ] interface HTMLFormElement : HTMLElement { | 24 ] interface HTMLFormElement : HTMLElement { |
| 26 [Reflect=accept_charset] attribute DOMString acceptCharset; | 25 [Reflect=accept_charset] attribute DOMString acceptCharset; |
| 27 [Reflect, URL] attribute DOMString action; | 26 [Reflect, URL] attribute DOMString action; |
| 28 [Reflect] attribute DOMString autocomplete; | 27 [Reflect] attribute DOMString autocomplete; |
| 29 [TreatNullAs=NullString] attribute DOMString enctype; | 28 [TreatNullAs=NullString] attribute DOMString enctype; |
| 30 [TreatNullAs=NullString] attribute DOMString encoding; | 29 [TreatNullAs=NullString] attribute DOMString encoding; |
| 31 [TreatNullAs=NullString] attribute DOMString method; | 30 [TreatNullAs=NullString] attribute DOMString method; |
| 32 [Reflect] attribute DOMString name; | 31 [Reflect] attribute DOMString name; |
| 33 [Reflect] attribute boolean noValidate; | 32 [Reflect] attribute boolean noValidate; |
| 34 [Reflect] attribute DOMString target; | 33 [Reflect] attribute DOMString target; |
| 35 | 34 |
| 36 readonly attribute HTMLCollection elements; | 35 readonly attribute HTMLCollection elements; |
| 37 readonly attribute long length; | 36 readonly attribute long length; |
| 38 | 37 |
| 39 [ImplementedAs=submitFromJavaScript] void submit(); | 38 [ImplementedAs=submitFromJavaScript] void submit(); |
| 40 void reset(); | 39 void reset(); |
| 41 boolean checkValidity(); | 40 boolean checkValidity(); |
| 42 | 41 |
| 43 [EnabledAtRuntime=requestAutocomplete] void requestAutocomplete(); | 42 [EnabledAtRuntime=requestAutocomplete] void requestAutocomplete(); |
| 44 [EnabledAtRuntime=requestAutocomplete,NotEnumerable] attribute EventListener
onautocomplete; | 43 [EnabledAtRuntime=requestAutocomplete,NotEnumerable] attribute EventListener
onautocomplete; |
| 45 [EnabledAtRuntime=requestAutocomplete,NotEnumerable] attribute EventListener
onautocompleteerror; | 44 [EnabledAtRuntime=requestAutocomplete,NotEnumerable] attribute EventListener
onautocompleteerror; |
| 46 }; | 45 }; |
| OLD | NEW |