Bug 64136
| Summary: | selection offsets are wrong on German letter "ß" | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | adele, ap, fantasai.bugs, tkent, vitor.roriz |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://simple-rte.rniwa.com/?editor=%3Cinput%20id%3D%22t%22%20value%3D%22%DF%22%20style%3D%22text-transform%3Auppercase%22%20type%3D%22text%22%3E&script=var%20t%20%3D%20document.getElementById%28%27t%27%29%3B%0At.focus%28%29%3B%0At.select%28%29%3B%0Aalert%28t.selectionStart%20+%20%27%2C%27%20+%20t.selectionEnd%29%3B | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=31563 | ||
Ryosuke Niwa
When an input element contains "ß" and the entire value is selected, WebKit returns 0 for both selectionStart and selectionEnd but Firefox reports 0 and 1 respectively.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Also see bug 31563.