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
Setting OS to all as I see this on Windows too.
OS: Linux → All
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?
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.
This problem still occurs in Firefox 3 beta 5.
not blocking a branch release, will take it when it's fixed on trunk.
Flags: blocking18.104.22.168? → blocking22.214.171.124-
This bug should have been fixed by 178324.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Component: Event Handling → User events and focus handling
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.