Closed Bug 1220139 Opened 9 years ago Closed 9 years ago

Firefox DOM Inspector doesn't show :visited pseudo-class

Categories

(DevTools :: Inspector, defect)

43 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 713106

People

(Reporter: joaopclopes, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151022004116

Steps to reproduce:

Created a website that makes use of :visited CSS pseudo class to change the color of a link. The CSS for the visited link is applied correctly on the page but I wanted to change its style in the DOM inspector.


Actual results:

When inspecting the element, the styles for a:visited are not shown. When I try to add a new style using the a:visited selector, it stays gray as if the selector didn't apply to the element, but the rules will apply.


Expected results:

The rules for :visited should have been shown in the rules list and new styles added to this element should be marked as matching the selected anchor element.

I assume that Firefox kind of "locked itself out" of being able to probe the :visited status of links when that feature was nerfed for privacy reasons (https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector).
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Thank you for the report, your assumption about Firefox locking itself out is right, see bug 713106 comment 0.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Untriaged → Developer Tools: Inspector
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.