Closed
Bug 327102
Opened 19 years ago
Closed 15 years ago
focus()/:focus is broken for some elements when the window doesn't have focus
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
2.00 KB,
text/html
|
Details |
focus() is broken for some elements when the window doesn't have focus. The :focus styling seems confused, it applies to multiple elements. STEPS TO REPRODUCE 1. load attached testcase 2. click on the desktop background or a window of a different application 3. focus the window with the testcase again ACTUAL RESULTS 2: The :focus outline/border is rendered for some elements even though they do not have focus, while for other elements the outline/border is not rendered when the element do have focus. 3. Now it works properly again. EXPECT RESULTS Same result with/without window focus. PLATFORMS & BUILDS TESTED Bug occurs in SeaMonkey 2006-02-11-02 trunk Linux Bug occurs in Firefox 1.5 Linux
Reporter | ||
Comment 1•19 years ago
|
||
Hm, Bug 371078 has been marked as duplicate, but there is one piece of information in it that isn't mentioned here. Namely, that if you press Alt-Tab while a drop-down box is dropped down, it loses focus. Is this covered in another bug, or should I report this separately?
Comment 5•18 years ago
|
||
I see that problem with 1.5 (and I presume with 2.0) but not with Minefield. In minefield I only see the problem with multiple form items able to have :focus applied. I'm not sure what fixed the focus problem or if that would be fixable in released versions.
Comment 7•16 years ago
|
||
not blocking a branch release, will take it when it's fixed on trunk.
Flags: blocking1.8.1.15? → blocking1.8.1.15-
Comment 8•15 years ago
|
||
This bug should have been fixed by 178324.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•