Open Bug 289402 Opened 20 years ago Updated 2 years ago

focus gone after css rule li a:focus + ul { display: block}

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: jepsar, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050405 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050405 Firefox/1.0+

See testcase. Focus should not be set to non-displayed elements.

Reproducible: Always




HTML testcase
Attached file testcase
I see this bug with Mozilla 1.8b1/Firefox 1.0.2 and the attached testcase, but
the focus does not disappear when I focus "Dolore" first and use Shift+Tab to go
backwards. 
The focus is being set to the link inside the drop down menu, but when that
happens the containing <ul> becomes display:none.
Result, the focus seems to be stuck, see also bug 285581.
Depends on: 264820
Keywords: testcase
So the problem is that once we've changed the focus content state we need to
reget the "next tabbable content", since the original one may have become no
longer tabbable...
Assignee: general → events
Status: UNCONFIRMED → NEW
Component: DOM: CSSOM → Event Handling
Ever confirmed: true
Assignee: events → nobody
QA Contact: ian → events
I can't reproduce this in Firefox 15.
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: