Closed Bug 260996 Opened 20 years ago Closed 20 years ago

Firefox "Forgets" Element Class Name

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 261074

People

(Reporter: mozilla, Assigned: bugzilla)

Details

Attachments

(2 files)

Firefox "forgets" the current className of an object when a window is minimized
and restored. Load the example page attached and minimize and restore it. When
focused, it should have an input element with a black background, and when
blurred it should have a white background. If you keep minimizing and restoring
it, you'll see that Firefox alternates the state.
Attached file Example
If you minimize and restore this test page several times, you will see exactly
what I am describing.
Attached file Working
If you use the exact same script, but a slightly different method, the issue
does not occur. Perhaps a timing issue assigning the className many times (the
onfocus and onblur events fire many times each time the window is
restored/minimized)???
Ok. Here's why. When you minimize the window, the following events are fired:

onblur
onblur
onfocus
onblur
onblur
onfocus

Firefox's events are royally hosed.
Same happening in mozilla suite, product should be changed to Browser
This is being caused by Forefox's broken onfocus event.

*** This bug has been marked as a duplicate of 261074 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: