Open
Bug 292327
Opened 19 years ago
Updated 3 years ago
Wrong event.target for keyboard events in iframe with designMode=on
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
NEW
People
(Reporter: bugzilla.mozilla.org-3, Unassigned)
References
Details
(Keywords: helpwanted, testcase)
Attachments
(1 file)
1.18 KB,
text/html
|
Details |
When typing in an IFRAME with designMode=on, the target property of keyboard events is the HTML node and not the node at the current caret position. Steps to reproduce: 1. Open attached testcase 2. Click in the red square. 3. Enter some letters on the keyboard Expected results: The log should contain "keydown@iframe:DIV". Actual results: The log contains "keydown@iframe:HTML". The problem exists for keydown, keyup and keypress events. For mousedown and mouseup it works as expected.
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Presumably, we just dispatch key events to whatever it is that has focus...
Yeah, I guess we should dispatch to wherever the caret is.
Updated•19 years ago
|
QA Contact: bugzilla → nobody
Updated•19 years ago
|
Keywords: helpwanted
Updated•17 years ago
|
QA Contact: nobody → editor
Updated•17 years ago
|
Assignee: mozeditor → nobody
Comment 4•3 years ago
|
||
Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.
If you have reason to believe, this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•