Summary: | input type=email is too strict | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nathan Samson <nathansamson+webkit> | ||||
Component: | Forms | Assignee: | Kent Tamura <tkent> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cmarcelo, commit-queue, dglazkov, morrita, tkent | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 19264 | ||||||
Attachments: |
|
Description
Nathan Samson
2011-03-08 17:27:54 PST
Actually, the W3C HTML5 says: http://www.w3.org/TR/html5/states-of-the-type-attribute.html#valid-e-mail-address > A valid e-mail address is a string that matches the ABNF production 1*( atext / "." ) "@" ldh-str 1*( "." ldh-str ) and WHATWG HTML says: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address > A valid e-mail address is a string that matches the ABNF production 1*( atext / "." ) "@" ldh-str *( "." ldh-str ) I think the WHATWG definition was changed recently. The current WebKit implementation is based on the W3C HTML5 specification, which rejects "nathan@psi". We should update the implementation for the WHATWG definition. Created attachment 93103 [details]
Patch
Comment on attachment 93103 [details] Patch Clearing flags on attachment: 93103 Committed r86298: <http://trac.webkit.org/changeset/86298> All reviewed patches have been landed. Closing bug. |