RESOLVED FIXED67336
Web Inspector: Add support for inspecting :visited styles
https://bugs.webkit.org/show_bug.cgi?id=67336
Summary Web Inspector: Add support for inspecting :visited styles
krinklemail
Reported 2011-08-31 16:34:22 PDT
Third party JavaScript is not allowed to access this information, that's a known reality and I understand. But I'd expect a more trusted component (ie. extension or something like the Web Inspector) to be be able to get to this. Steps to reproduce: * Open a html document with links and styled :visited (ie. a { color: blue; } a:visited { color: purple; } ) * Visit the link * Inspect the link (which now looks purple, or red when you're pressing it) * Inspector should show cascading rule that a:visisted overrode the a for color-property What happends: * The :visited rule is nowhere to be found, as if the link is still blue (which it "thinks") Expected result: * The rule for :visisted overrode the other rule. and should be included in the styles sidebar.
Attachments
Pavel Feldman
Comment 1 2011-08-31 22:18:34 PDT
While we are fixing your request, try clicking the http://trac.webkit.org/export/94269/trunk/Source/WebCore/inspector/front-end/Images/paneElementStateButtons.png button in the styles sidebar and forcing the :visited (or any other styles). That would give you a way to style the visited link.
Alexander Pavlov (apavlov)
Comment 2 2011-11-23 07:59:41 PST
In Chrome 16.0.912.36 (Official Build 109393) beta (WebKit r97678) I can see the :visited rule being active for visited links.
krinklemail
Comment 3 2011-11-30 14:28:33 PST
Thanks, this is good enough.
Note You need to log in before you can comment on or make changes to this bug.