Closed Bug 827604 Opened 11 years ago Closed 11 years ago

Pseudoclass lock isn't clearing

Categories

(DevTools :: Inspector, defect)

13 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: dcamp, Assigned: harth)

Details

Attachments

(1 file)

STR:
1) Lock a node in the highlighter
2) Pseudo-class lock :hover
3) Move to an unrelated node

The lock should clear, but doesn't.

4) Close the panel

The lock is still there.
Assignee: nobody → fayearthur
This patch adds back the pre-toolbox functionality. When inspecting a new node, the pseudo-class locks for the previous node are cleared if the new node is in a different hierarchy chain (i.e. the breadcrumbs would have to be updated).

This patch also tests navigating to both hierarchy (parent) and non-hierarchy (sibling) nodes.
Attachment #703139 - Flags: review?(dcamp)
Attachment #703139 - Flags: review?(dcamp) → review+
https://hg.mozilla.org/mozilla-central/rev/a7234e6f89f2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 21
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: