Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: Source/core/html/HTMLFormElement.idl

Issue 133703002: Compatible handling of the form.autocomplete IDL attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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] attribute DOMString acceptCharset; 22 [Reflect=accept_charset] attribute DOMString acceptCharset;
23 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at tribute DOMString action; 23 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at tribute DOMString action;
24 [Reflect] attribute DOMString autocomplete; 24 [Reflect, ReflectOnly="on"|"off", ReflectMissing="on", ReflectInvalid="on"] attribute DOMString autocomplete;
25 [CustomElementCallbacks] attribute DOMString enctype; 25 [CustomElementCallbacks] attribute DOMString enctype;
26 [CustomElementCallbacks] attribute DOMString encoding; 26 [CustomElementCallbacks] attribute DOMString encoding;
27 [CustomElementCallbacks] attribute DOMString method; 27 [CustomElementCallbacks] attribute DOMString method;
28 [Reflect] attribute DOMString name; 28 [Reflect] attribute DOMString name;
29 [Reflect] attribute boolean noValidate; 29 [Reflect] attribute boolean noValidate;
30 [Reflect] 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 (RadioNodeList or Node)(DOMString name); 35 [ImplementedAs=anonymousNamedGetter, OverrideBuiltins, NotEnumerable] getter (RadioNodeList 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 };
OLDNEW
« LayoutTests/fast/forms/autocomplete.html ('K') | « LayoutTests/fast/forms/autocomplete-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698