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.
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
You need to log in before you can comment on or make changes to this bug.