Bug 111982 - Inappropriate validation message for required number/date input elements
Summary: Inappropriate validation message for required number/date input elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kent Tamura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 06:07 PDT by Kent Tamura
Modified: 2013-03-11 07:45 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.90 KB, patch)
2013-03-11 06:13 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.