Bug 86177

Summary: Sanitization algorithm for input type=email should strip whitespaces
Product: WebKit Reporter: Keishi Hattori <keishi>
Component: FormsAssignee: Keishi Hattori <keishi>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, tkent, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ec2-cr-linux-03
none
Patch none

Keishi Hattori
Reported 2012-05-10 23:35:38 PDT
According to the spec http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email) > The value sanitization algorithm is as follows: Strip line breaks from the value, then strip leading and trailing whitespace from the value.
Attachments
Patch (6.58 KB, patch)
2012-05-10 23:47 PDT, Keishi Hattori
no flags
Archive of layout-test-results from ec2-cr-linux-03 (736.56 KB, application/zip)
2012-05-11 02:43 PDT, WebKit Review Bot
no flags
Patch (8.04 KB, patch)
2012-05-11 04:21 PDT, Keishi Hattori
no flags
Keishi Hattori
Comment 1 2012-05-10 23:45:00 PDT
Firefox does this. Opera doesn't.
Keishi Hattori
Comment 2 2012-05-10 23:47:30 PDT
Kent Tamura
Comment 3 2012-05-10 23:59:41 PDT
Comment on attachment 141335 [details] Patch ok
WebKit Review Bot
Comment 4 2012-05-11 02:43:37 PDT
Comment on attachment 141335 [details] Patch Attachment 141335 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12669348 New failing tests: fast/forms/input-value-sanitization.html
WebKit Review Bot
Comment 5 2012-05-11 02:43:41 PDT
Created attachment 141364 [details] Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Keishi Hattori
Comment 6 2012-05-11 04:21:12 PDT
WebKit Review Bot
Comment 7 2012-05-11 06:03:20 PDT
Comment on attachment 141377 [details] Patch Clearing flags on attachment: 141377 Committed r116757: <http://trac.webkit.org/changeset/116757>
WebKit Review Bot
Comment 8 2012-05-11 06:03:27 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.