Closed Bug 1129486 Opened 9 years ago Closed 8 years ago

[Devtools][Inspector] Can't inspect a children of a :active element

Categories

(DevTools :: Inspector, defect, P2)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 985517

People

(Reporter: julienw, Unassigned)

References

()

Details

(Whiteboard: [btpp-fix-later])

Attachments

(1 file)

Attached file testcase-active.html
STR:
1. load the attachment in Firefox.
2. Open the Inspector.
3. Find the link in the inspector, right click on it, enable ":active"
4. click on the <p> or the ::after to inspect their style while :active is set

=> the :active state is removed.

Suggested behavior:
* after 3, add a notice besides the "<a>" node to indicate that :active is set. This will make it easy to remember that it's set even when we navigate in the tree. Note that we already have one in the breadcrumb at the top, but I'm not sure it's enough.
* after 4, do not remove the :active state.
* possibly have a button in the breadcrumb line to reset all states.
Component: Developer Tools → Developer Tools: Inspector
Thanks for filing!

This one seems to be fixed in Firefox 45 (ie, we have a state in the markup view AND this state is not removed when clicking on another element).

Closing as worksforme, please reopen if I'm wrong!

Inspector bug triage. Filter on CLIMBING SHOES.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Julian, when trying using the testcase, I see the state is removed when clicking on something other than an element: like on the text or the generated content.

Do you think this should be a separate bug or should we reopen this one?
Flags: needinfo?(jdescottes)
Good catch! Let's reopen this one.

Assigning P2, it's actually pretty easy to make the state disappear and should be fixed. 
Inspector bug triage. Filter on CLIMBING SHOES.
Status: RESOLVED → REOPENED
Flags: needinfo?(jdescottes)
Priority: -- → P3
Resolution: WORKSFORME → ---
Whiteboard: [btpp-fix-later]
Priority: P3 → P2
See Also: → 1185797
I believe, that's actually a duplicate of bug 985517. So, closing this one again.

Sebastian
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: