Closed
Bug 205147
Opened 22 years ago
Closed 12 years ago
textbox doesn't respond when onkeypress="event.stopPropagation"
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: buckett, Unassigned)
References
()
Details
(Keywords: regression, testcase, Whiteboard: [adt2])
Attachments
(1 file)
|
2.82 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.4a) Gecko/20030403
Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.4a) Gecko/20030403
When keypress events are stopped (prevented from bubbling) in a textbox the only
keypresses that seem to have an affect are Enter and Delete. Normal keypresses
are ignored by the textbox.
This problem only seems to be present in mozilla 1.4, mozilla 1.3 and earlier
seemed to work correctly.
Reproducible: Always
Steps to Reproduce:
1.Try to type in the "stopped" textbox in the example page
Actual Results:
No text is displayed in the textbox.
Expected Results:
Typed text should have been displayed
Comment 1•22 years ago
|
||
Sounds like we're treating stopPropagation as being equivalent to
preventDefault; it should not be....
Comment 2•22 years ago
|
||
this regressed between linux trunk 2003032305 and 2003032405, implicating bug 54035
Keywords: regression,
testcase
Comment 3•22 years ago
|
||
->bryner for investigation, regression
Assignee: saari → bryner
Keywords: nsbeta1
Comment 4•22 years ago
|
||
adt: nsbeta1+/adt2
Comment 5•22 years ago
|
||
The same thing happens with oncontextmenu. Calling e.stopPropogation() prevents
the context menu from appearing. I've removed oncontextmenu from the "zap
events" bookmarklet for now so that clicking "zap events" doesn't kill context
menus, but that means "zap events" can't restore context menus when a web site
blocks them.
Mozilla apparently also supports IE's cancelBubble property, which is also
affected by this bug. Attaching alternate test case that demonstrates both.
Is there any hope of this being fixed before 1.4 final now that RC1 is out
there? I understand that the next version of Netscape will be based on 1.4; I'd
hate to have to tell people NOT to use the latest versions of Mozilla,
Netscape, etc, with our site.
Changing OS to All, since it shows up on Linux and Windows.
Requesting 1.4 blocker status, because:
1) this is a regression,
2) it makes some forms unusable,
3) it's difficult to work around, and
4) I'm not sure it's on anyone's radar.
If bug 54035 is truly the cause of this regression, shouldn't it be backed out
until a patch that doesn't cause regressions is available?
Flags: blocking1.4?
OS: Linux → All
Target Milestone: --- → mozilla1.4final
Updated•19 years ago
|
Assignee: bryner → events
QA Contact: desale → ian
Target Milestone: mozilla1.4final → ---
Updated•16 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Comment 9•12 years ago
|
||
Now, our editor handles key events in system group. So, this bug can be reproduced anymore.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•