Closed Bug 497916 Opened 16 years ago Closed 16 years ago

Can't focus XUL elements

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: harth, Unassigned)

Details

Attachments

(1 file)

With Minefield (I'm on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090612 Minefield/3.6a1pre), focus on XUL elements is spotty. The attached testcase focuses the red vbox from code in the onload handler, then alerts the active element (should be 'vbox' but is 'window'). Also when you click on the red vbox, it alerts the active element (should be 'vbox' but is 'window'). And to show it's not just activeElement, a keypress handler is added to the vbox (clicking on the vbox and pressing a key should bring up an alert, but it does not). All of this works in builds prior to 06/11.
Forgot to mention, this seems to work on button and textbox but not on vbox and panel among the ones that I've tried.
That's correct behaviour, post bug 178324. It was a bug before that non-focusable XUL elements could be focused.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: