Open
Bug 1142200
Opened 9 years ago
Updated 8 months ago
inspector focus does not stay on ::after pseudo-element after reload
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: tromey, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [btpp-backlog])
Normally if I click on an element in the inspector and reload the page, the inspector seems to try to keep that element focused. However, if I click on a ::after pseudo-element, then reloading causes the inspector to refocus on the pseudo-element's parent element. One simple way to see this is to open the test case in bug 1142194. Then select the ::after pseudo-element and reload.
Comment 1•8 years ago
|
||
The selection is kept by keeping a reference to the unique css selector of the selection. The css selector does not include the "::before" or "::after" information. The way we retrieve the node after the navigation is by using querySelector (which can't find pseudo elements). Both of these need to be modified in order to keep the pseudo element selection. Inspector bugs triage. Filter on CLIMBING SHOES.
OS: Linux → All
Priority: -- → P3
Hardware: x86_64 → All
Whiteboard: [btpp-backlog]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Updated•8 months ago
|
Blocks: devtools-pseudo
You need to log in
before you can comment on or make changes to this bug.
Description
•