Summary: | keypress event fired at <body> ends up adding text to a text field | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | jochen | ||||
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | ap, ojan, rniwa | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
jochen
2012-03-20 07:01:37 PDT
WebKit/IE behavior makes good sense to me. (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. (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. (In reply to comment #3) > (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. yes Closing as invalid as this seems to be working as intended |