Summary: | Do not normalize into NFC the values of form fields | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | ap, dtrebbien, jonlee | ||||
Priority: | P2 | Keywords: | BlinkMergeCandidate | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryosuke Niwa
2013-07-30 21:53:22 PDT
> NFC normalization actually changes the meaning of text in certain scripts. This is a mistake and should never be relied upon. *** This bug has been marked as a duplicate of bug 113001 *** Created attachment 208491 [details] Patch I think that this bug should be re-opened now that Safari is the only major browser which normalizes form values. Bug 8769 cites the charmod-norm spec. Note that not normalizing form submission values is "perfectly acceptable" according to C309 (http://www.w3.org/TR/charmod-norm/#C309) because the browser can be viewed as the "producer", and the server to which the form data is being submitted can be viewed as the "remote component ... to which normalization is delegated". The server should be able to decide whether normalization is performed or not, and to which values. WebKit has always been the only browser engine to do this, it's not a new development. (In reply to comment #3) > WebKit has always been the only browser engine to do this, it's not a new development. Well, I mean that Chrome/Blink will soon not have this bug. In fact, the latest Chromium nightlies and Chrome Canary builds do not have this bug. What is the reason for keeping this behavior? It's not mandated by a spec, and it shouldn't be required for compatibility with Windows because Internet Explorer 6+ does not normalize. I just checked IE 11 Preview and form values are not normalized. This is already discussed in the original. In any case, please keep the discussion to the original bug, to keep it in one place. |