Closed
Bug 422295
Opened 17 years ago
Closed 6 months ago
CSS :focus{overflow:hidden} breaks click event handling on input elements
Categories
(Core :: DOM: Events, defect, P5)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
People
(Reporter: pooya, Unassigned)
References
()
Details
(Whiteboard: DUPEME)
Attachments
(1 file)
|
648 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9b5pre) Gecko/2008031104 Minefield/3.0b5pre
A text input element that has the following style
:focus {overflow: hidden}
ignores the first click event.
Test case will follow.
Reproducible: Always
| Reporter | ||
Comment 1•17 years ago
|
||
Originally I noticed this behavior when tried to add click handlers to text boxes on SourceForge registration page:
http://sourceforge.net/account/registration/ I narrowed it down to the this attached test case.
Comment 2•17 years ago
|
||
This is a duplicate. The focus style triggers a frame reconstruct on mousedown, so mouseup and mousedown are on different objects, and you don't get the click event fired at that node. We have other bugs filed for this sort of situation.
Whiteboard: DUPEME
| Reporter | ||
Comment 3•17 years ago
|
||
I know about these two similar bugs: bug 393226 and bug 42676 but couldn't find the more generic one about the way frame reconstruction is done.
Comment 4•10 years ago
|
||
Looks like duplicate of bug 493416
Comment 5•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
Updated•6 months ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•