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

Side by Side Diff: chrome/test/data/autofill/heuristics/input/01_autocomplete_attribute_advanced.html

Issue 11198048: [Autofill] Update the autocomplete types implementation to match the current HTML spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Whitespace should be trimmed; case should be normalized. -->
2 <form action="autocompletetype.html" method="post">
3 <input id="1.n" autocomplete=" NAME "><br>
4 <input id="1.e" autocomplete=" WoRk eMaIl"><br>
5 <input id="1.a" autocomplete=" SECTION-one SHIPping street-address"><br>
Dan Beam 2012/10/19 00:12:44 nit: trimmable space at end
Ilya Sherman 2012/10/19 04:19:32 Done. (Made it a tab, even!)
6 </form>
7
8 <!-- The presence of at least one type hint should disable all other forms of
9 heuristics. -->
10 <form action="autocompletetype.html" method="post">
11 <input id="2.name"><br>
12 <input id="2.email"><br>
13 <input id="2.t" autocomplete="tel"><br>
14 <input id="2.address"><br>
15 </form>
16
17 <!-- This is true even if the attribute value is invalid. -->
18 <form action="autocompletetype.html" method="post">
19 <input id="3.name"><br>
20 <input id="3.email"><br>
21 <input id="3.o" autocomplete="other"><br>
22 <input id="3.address"><br>
23 </form>
24
25 <!-- But special values like "on" or "off" should have no effect. -->
26 <form action="autocompletetype.html" method="post">
27 <input id="4.phone"><br>
28 <input id="4.email"><br>
29 <input id="4.a" autocomplete="on"><br>
30 <input id="4.b" autocomplete="oFf "><br>
31 <input id="4.c" autocomplete=""><br>
32 <input id="4.city"><br>
33 </form>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698