[Webkit-unassigned] [Bug 81661] keypress event fired at <body> ends up adding text to a text field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 12:25:31 PDT 2012


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ojan at chromium.org




--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org>  2012-03-20 12:25:31 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > WebKit/IE behavior makes good sense to me.
> 
> what strikes me as strange is that the event target is the body element, while the text is inserted in the input field.

But the focus is at the input element, right? The event target can't be changed once the event is dispatched, but the focus element can be changed after the fact.

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



More information about the webkit-unassigned mailing list