Bug 35963

Summary: input type other than text won't work with autofill
Product: WebKit Reporter: John Sullivan <sullivan>
Component: FormsAssignee: John Sullivan <sullivan>
Status: RESOLVED FIXED    
Severity: Minor CC: ap, sullivan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://dag.bytestudios.com/test.html
Bug Depends on: 35895    
Bug Blocks:    
Attachments:
Description Flags
Patch to make WebHTMLRepresentation elementDoesAutocomplete return true for any text fields other than passwords. timothy: review+

Description John Sullivan 2010-03-10 03:52:29 PST
+++ This bug was initially created as a clone of Bug #35895 +++

Unless I change my zipcode fields from input type="number" 
and my email fields from input type="email" to input type="text" 
autofill will not populate them
Comment 1 John Sullivan 2010-03-10 03:54:27 PST
The problem is in -[WebHTMLRepresentation elementDoesAutocomplete:], where only type TEXT is considered.
Comment 2 John Sullivan 2010-03-10 03:59:07 PST
I'll have a patch up later this morning.
Comment 3 John Sullivan 2010-03-10 04:02:16 PST
Created attachment 50388 [details]
Patch to make WebHTMLRepresentation elementDoesAutocomplete return true for any text fields other than passwords.
Comment 4 John Sullivan 2010-03-10 05:25:15 PST
http://trac.webkit.org/changeset/55776