Bug 111982

Summary: Inappropriate validation message for required number/date input elements
Product: WebKit Reporter: Kent Tamura <tkent>
Component: FormsAssignee: Kent Tamura <tkent>
Status: RESOLVED FIXED    
Severity: Normal CC: esprehn+autocc, haraken, mifenton, morrita, ojan.autocc, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Kent Tamura 2013-03-11 06:07:57 PDT
1. Open data:text/html,<form><input type=number required><input type=submit></form>
2. Type "abc" into the number field
3. Press the submit button

Expected:
 UA shows badInput validation message like "Please enter a number." because the field is not empty.
Actual:
 UA shows valueMissing validation message like "Please fill out this field."

https://code.google.com/p/chromium/issues/detail?id=179694
Comment 1 Kent Tamura 2013-03-11 06:13:13 PDT
Created attachment 192455 [details]
Patch
Comment 2 Kentaro Hara 2013-03-11 06:57:42 PDT
Comment on attachment 192455 [details]
Patch

LGTM
Comment 3 WebKit Review Bot 2013-03-11 07:45:54 PDT
Comment on attachment 192455 [details]
Patch

Clearing flags on attachment: 192455

Committed r145362: <http://trac.webkit.org/changeset/145362>
Comment 4 WebKit Review Bot 2013-03-11 07:45:57 PDT
All reviewed patches have been landed.  Closing bug.