| Summary: | Value sanitization for input[type=text] should not truncate a value at a control character | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||||||
| Component: | Forms | Assignee: | Carlos Alberto Lopez Perez <clopez> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bfulgham, cdumez, clopez, darin, dbates, esprehn+autocc, ews-watchlist, gyuyoung.kim, mcatanzaro, mifenton, webkit-bug-importer, wenson_hsieh, youennf | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Carlos Alberto Lopez Perez
2020-02-18 10:52:09 PST
Created attachment 391070 [details]
Patch
(In reply to Carlos Alberto Lopez Perez from comment #0) > WebKit its truncating the value for input type text at the first control > character that its non a tab. > > This behaviour its not defined on the spec, neither match what other > browsers do (Firefox, Chrome, etc). > Spec: https://html.spec.whatwg.org/multipage/input.html#text-(type=text)-state-and-search-state-(type=search):value-sanitization-algorithm Created attachment 391152 [details]
Patch
Rebaseline also imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode.html with more PASS lines
Created attachment 391196 [details]
Patch
Fix wrong baseline for ios in imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode.html
r? All EWS are green now. Comment on attachment 391196 [details] Patch Clearing flags on attachment: 391196 Committed r257132: <https://trac.webkit.org/changeset/257132> All reviewed patches have been landed. Closing bug. |