Bug 94831
| Summary: | WebKit fires input event before updating selection | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ap, ayg, enrica, leviw, ojan, tkent |
| Priority: | P2 | Keywords: | WebExposed |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
http://code.google.com/p/chromium/issues/detail?id=138069
Reproduction steps:
1. Open http://jsfiddle.net/9jHxE/1/
2. Type "a" in the text field
Expected result:
"1 a"
Actual result:
"0 a"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ojan Vafai
I don't know that this is specced anywhere, but I agree that what we do now is inconsistent and should be changed (i.e. that the selection should be updated first).
Kent Tamura
Fixed by http://trac.webkit.org/changeset/132983.