Closed stanio closed 1 year ago
This seems to be a duplicate of #9836
Yes, looks like it. At least I have provided some real-world examples (the Java 8 docs). I've encountered it on other sites I can't remember/point to at the moment, as well. Please close this one at your discretion.
Closing, referenced this issue in the other issue. Many thanks for the information!
Prerequisites
Bug Description
Non-link named anchor elements get colored as links causing weird coloring, probably more noticeable but not limited to some legacy pages:
The first couple of paragraphs and list item 1) are unexpectedly colored blue.
Website Address
https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/prepapp002.html
Steps To Reproduce
Create HTML file:
Open in the browser with Dark reader theme enabled.
Expected Behavior
Actual Behavior
Screenshots
Default light theme preview:
Operating System
Windows 10
Web Browser name and version
Firefox Developer Edition 108.0b9
Dark Reader version
4.9.60
Additional Context
Using the browser DOM/style inspector tool, after the Dark reader theme is applied I'm observing the following style rule applied:
I guess it should be better defined as:
so it doesn't get applied to non-link named anchors.
I'm currently working around this by applying custom CSS (in the Dark reader "Dynamic theme editor"):