Open
Bug 194228
Opened 22 years ago
Updated 2 years ago
onmousedown disables text input mouse click focus
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: jonathan, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130
document.onmousedown = function(){return false;}
Sites containing the above do not allow the text input fields to be selected
with a mouse click.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•22 years ago
|
||
Text fields are focused onmousedown (try this -- click and hold, and note that
the textfield gets focus). Cancelling the onmousedown event should indeed
prevent its default action (that of focusing the textfield).
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•22 years ago
|
||
*** Bug 195934 has been marked as a duplicate of this bug. ***
Comment 3•21 years ago
|
||
dup of bug #144503? it also talks about "onmousedown".
*** Bug 144503 has been marked as a duplicate of this bug. ***
(From bug 144503: note IE and Nav4 do allow focus on the textfield in this case.
Mozilla is standards correct but real-world incompatible.)
Updated•15 years ago
|
Assignee: saari → nobody
QA Contact: desale → events
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•