I have a strange bug that only occurs on Chrome - visited links ignore the color
attribute and turn black. The chrome inspector shows the computed color as "white", even though it is clearly black.
This is NOT caused by :visited
, as I'm using the same text color, whether it is visited or not.
Here's a minimal fiddle:
You need to visit wikipedia for the bug to appear.
<a href="https://www.wikipedia.org/#">This text should be white</a>
<a href="https://www.wikipedia.org/">This text should also be white, but isn't</a>
Now, I know this is in part caused by "all: initial", but I need to use this to keep a consistent style in my webextension, since websites override random CSS properties.