If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

-moz-user-focus:normal no longer allows DIVs to trigger onFocus handlers.

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
12 years ago
8 years ago

People

(Reporter: Marco Vervoort, Unassigned)

Tracking

1.0 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CLOSEME 5-15-2010], URL)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051120 SUSE/0.10 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051120 SUSE/0.10 Firefox/1.5

Adding a style property '-moz-user-focus: normal' to a DIV used to allow it to trigger an 'onFocus' handler. 
The testcase from my URL has two DIVs, one with a '-moz-user-focus: normal' style attribute and one without. Clicking on the bottom one causes an Alert to pop up on Firefox 1.0.6 but not on 1.5RC3.


Reproducible: Always

Steps to Reproduce:
1. Create an HTML file containing a normally unfocusable element.
2. Add stylesheet property '-moz-user-focus: normal' to the element, and an onFocus handler
3. Focus the element by clicking on it. In the testcase, click on 'Div with -moz-user-focus'.


Actual Results:  
Nothing.


Expected Results:  
The onFocus handler should trigger.
In the testcase, an Alert should pop up.

Tested with a new empty profile, just to be sure.

This behavior is specific to Firefox 1.5RC3: everything worked OK in 1.5RC2.
This has been done deliberately, see bug 256003.
So this is basically a duplicate of bug 256003.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Not incomplete, it is clear what this bug is about.
You need to log in before you can comment on or make changes to this bug.