Closed
Bug 158672
Opened 23 years ago
Closed 23 years ago
editor doesn't consume (preventdefault) on characters typed in
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla1.2alpha
People
(Reporter: Brade, Assigned: Brade)
Details
Attachments
(2 files)
|
603 bytes,
patch
|
akkzilla
:
review+
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
|
549 bytes,
patch
|
timeless
:
review+
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
While investigating a problem with Chimera, I found that the editor code
(nsPlaintextEditor.cpp) doesn't preventDefault for regular characters/letters
being typed. I think this is a bug (right now, we only seem to prevent default
for delete/backspace, tab and return/enter).
| Assignee | ||
Comment 1•23 years ago
|
||
This patch needs to be tested against many things to be sure there are no
regressions; any suggestions for regression testing?
Comment 4•23 years ago
|
||
Comment on attachment 92225 [details] [diff] [review]
patch to be tested
r=akkana
Attachment #92225 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 92225 [details] [diff] [review]
patch to be tested
sr=sfraser, but be sure to test this thoroughly, including IME etc.
Attachment #92225 -
Flags: superreview+
Comment 6•23 years ago
|
||
I tested the patch on Windows2K using the testcase attached to bug 26882 and
it prevents spacebar from causing the pagedown behavior.
| Assignee | ||
Comment 7•23 years ago
|
||
fix checked into 1.2 trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.2alpha
| Assignee | ||
Comment 8•23 years ago
|
||
fix checked into the 1.0 branch
| Assignee | ||
Comment 9•23 years ago
|
||
reopening bug since this patch didn't address html editors
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 10•23 years ago
|
||
Comment 11•23 years ago
|
||
Comment on attachment 99557 [details] [diff] [review]
patch for html editors
sr=sfraser
Attachment #99557 -
Flags: superreview+
Comment 12•23 years ago
|
||
Comment on attachment 99557 [details] [diff] [review]
patch for html editors
brade says that the other events are PreventDefault'd in
nsEditorEventListener.cpp
i wouldn't mind a comment to that effect, but r=timeless either way
Attachment #99557 -
Flags: review+
| Assignee | ||
Comment 13•23 years ago
|
||
fix checked in
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•