Bug 94831 - WebKit fires input event before updating selection
Summary: WebKit fires input event before updating selection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2012-08-23 12:16 PDT by Ryosuke Niwa
Modified: 2012-12-16 20:29 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2012-08-23 12:16:44 PDT
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"
Comment 1 Ojan Vafai 2012-08-23 14:37:49 PDT
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).
Comment 2 Kent Tamura 2012-12-16 20:29:00 PST
Fixed by http://trac.webkit.org/changeset/132983.