2

I'm using Firefox 67.0.4. I used an option to display visited links in red. That works but now Firefox does not display images properly.

Here is a screenshot from Edge of what it should look like:

enter image description here

Here is a screenshot from Firefox:

enter image description here

Here are the choices for colors: enter image description here enter image description here

Note that if I select "Only with High Contrast Themes" the images work but then the visited links don't work.

  • Detail exactly what you did and show a screenshot of the result. – harrymc Jun 29 '19 at 20:17
  • It looks like you've enable or add any high contrast theme or color. – Biswapriyo Jun 30 '19 at 21:11
  • The only reference to "high contrast" is in the dropdown in the colors section. I have Always selected. The other options are shown in the new screenshot. Interesting though is that if I select "only in high contrast" it works but then the visited links are not red. – user215779 Jun 30 '19 at 23:30
3
+50

This seems intentional. The Mozilla article privacy-related changes coming to CSS :visited describes these changes whose purpose is to avoid a page detecting which links on itself were already visited, probably meant as an anti-marketing measure.

This change is described as:

You will still be able to visually style visited links, but you’re severely limited in what you can use. We’re limiting the CSS properties that can be used to style visited links to color, background-color, border-*-color, and outline-color and the color parts of the fill and stroke properties. For any other parts of the style for visited links, the style for unvisited links is used instead. In addition, for the list of properties you can change above, you won’t be able to set rgba() or hsla() colors or transparent on them.

The article also claims that "The impact on web developers here should be minimal, and that’s part of our intent". However, in the list of possible problems is mentioned (the bold is my emphasis):

  • If you’re using background images to style links and indicate if they are visited, that will no longer work.
  • We won’t support CSS Transitions that related to visitedness. There isn’t that much CSS Transition content on the web, so this is unlikely to affect very many people, but it’s still worth noting as another vector we won’t support.

As this is a new feature, you might file a complaint on the Firefox Forums. Realistically, the only options I can see are to either accept the default schema or move to another browser.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.