[Webkit-unassigned] [Bug 25119] IME modifies the DOM before keydown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 10 13:28:29 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25119





------- Comment #3 from jparent at google.com  2009-04-10 13:28 PDT -------
The reason this matters is for applications that want to prepare for the
character insertions, either by saving the state, modifying the dom, or calling
preventDefault to prevent the insertion.  This works fine for all non-IME
input, but since the dom is modified before the keydown for IME, there is no
way for us to prepare for it, we only know about the input once it has already
changed the dom, at which point it is too late.  Calling preventDefault() on
the keydown should always cause the character insertion to not happen.

For what its worth, IE 7 has the same behavior as Safari 3/4 on Windows, which
is the behavior I want for Safari on Mac too.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list