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

Unified Diff: chrome/test/data/autofill/heuristics/input/form_phones_en.html

Issue 6480083: Changed parsing code for the phonenumbers fields to incorporate different com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/autofill/heuristics/input/form_phones_en.html
===================================================================
--- chrome/test/data/autofill/heuristics/input/form_phones_en.html (revision 0)
+++ chrome/test/data/autofill/heuristics/input/form_phones_en.html (revision 0)
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title></title>
+ </head>
+ <body>
+ <form action="http://www.google.com/" method="post">
+ <label for="firstname">First name:</label>
+ <input type="text" id="firstname"><br/>
+ <label for="lastname">Last name:</label>
+ <input type="text" id="lastname"><br/>
+ <label for="address">Address:</label>
+ <input type="text" id="address"><br/>
+ <label for="city">City:</label>
+ <input type="text" id="city"><br/>
+ <label for="state">State:</label>
+ <input type="text" id="state"><br/>
+ <label for="zip">Zip:</label>
+ <input type="text" id="zip"><br/>
+
+ <label for="phone">Phone:</label>
+ <input type="text" id="phone"><br/>
+ Area Code: <input type="text" id="areacode1">
+ Phone: <input type="text" id="phone1"><br/>
+ Phone:
+ <input type="text" maxlength="3" name="hphone1">
+ - <input type="text" maxlength="3" name="hphone2">
+ - <input type="text" maxlength="4" name="hphone3">
+ ext.: <input type="text" maxlength="5" name="hphone4"><br/>
+ Phone:
+ ( <input type="text" maxlength="3" name="hphone1a"> )
+ <input type="text" maxlength="3" name="hphone2a">
+ - <input type="text" maxlength="4" name="hphone3a">
+ ext.: <input type="text" maxlength="5" name="hphone4a"><br/>
+ Phone:
+ <input type="text" maxlength="2" name="hphone1b">
+ <input type="text" maxlength="3" name="hphone1b">
+ - <input type="text" maxlength="3" name="hphone2b">
+ - <input type="text" maxlength="4" name="hphone3b">
+ ext.: <input type="text" maxlength="5" name="hphone4b"><br/>
+ Phone:
+ <input type="text" maxlength="2" name="hphone1c">
+ ( <input type="text" maxlength="3" name="hphone1c"> )
+ <input type="text" maxlength="3" name="hphone2c">
+ - <input type="text" maxlength="4" name="hphone3c">
+ ext.: <input type="text" maxlength="5" name="hphone4c"><br/>
+
+ Fax: <input type="text" id="fax"><br/>
+ Area Code: <input type="text" id="faxareacode1">
+ Fax: <input type="text" id="fax1"><br/>
+ Fax:
+ <input type="text" maxlength="3" name="hfax1">
+ - <input type="text" maxlength="3" name="hfax2">
+ - <input type="text" maxlength="4" name="hfax3">
+ ext.: <input type="text" maxlength="5" name="hfax4"><br/>
+ Fax:
+ ( <input type="text" maxlength="3" name="hfax1a"> )
+ <input type="text" maxlength="3" name="hfax2a">
+ - <input type="text" maxlength="4" name="hfax3a">
+ ext.: <input type="text" maxlength="5" name="hfax4a"><br/>
+ Fax:
+ <input type="text" maxlength="2" name="hfax0b">
+ <input type="text" maxlength="3" name="hfax1b">
+ - <input type="text" maxlength="3" name="hfax2b">
+ - <input type="text" maxlength="4" name="hfax3b">
+ ext.: <input type="text" maxlength="5" name="hfax4"><br/>
+ Fax: <input type="text" maxlength="2" name="hfax0c">
+ ( <input type="text" maxlength="3" name="hfax1c"> )
+ <input type="text" maxlength="3" name="hfax2c">
+ - <input type="text" maxlength="4" name="hfax3c">
+ ext.: <input type="text" maxlength="5" name="hfax4c"><br/>
+ </form>
+ </body>
+</html>
Property changes on: chrome\test\data\autofill\heuristics\input\form_phones_en.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/autofill/phone_field_unittest.cc ('k') | chrome/test/data/autofill/heuristics/output/form_phones_en.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698