Closed Bug 731726 Opened 14 years ago Closed 14 years ago

Moving the parentNode of a focused DOM node does not remove the node's focus ring

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

Attachments

(2 files, 2 obsolete files)

Attached file testcase
In the attached testcase: 1) Focus the first button using the keyboard 2) Press enter 3) Press TAB again and see that we now have two buttons with a focus ring
Attached patch patch v1 (obsolete) — Splinter Review
Simple patch with a test. Not sure that's the way to go, looking forward to your feedback!
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #601713 - Flags: review?(enndeakin)
Blocks: 729878
Attached patch patch v2 (obsolete) — Splinter Review
Attachment #601713 - Attachment is obsolete: true
Attachment #601723 - Flags: review?(enndeakin)
Attachment #601713 - Flags: review?(enndeakin)
Comment on attachment 601723 [details] [diff] [review] patch v2 This is ok, but a reftest would have been a simpler way of testing this.
Attachment #601723 - Flags: review?(enndeakin) → review+
(In reply to Neil Deakin from comment #4) > This is ok, but a reftest would have been a simpler way of testing this. Never wrote one, it was about time!
Attachment #601723 - Attachment is obsolete: true
Attachment #602420 - Flags: review?(enndeakin)
Comment on attachment 602420 [details] [diff] [review] patch v3 (with reftest) The line in reftest.list should be annotated with 'needs-focus' as the test depends on the window being focused.
Attachment #602420 - Flags: review?(enndeakin) → review+
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla13
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Component: DOM: Other → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: