2

This is a screenshot of a recent answer I wrote on my iPad mini using Chrome. Notice that there are two different shades of the same color in the links: the first two are considerably paler.

enter image description here

Here, however, is the same text in edit mode, where the colors are now identical:

enter image description here

4
  • 2
    The lighter shade appears after the link has been clicked. This is by design.
    – Mari-Lou A
    Commented Jan 31, 2018 at 9:58
  • Yes, that's been a standard browser feature since Netscape, but I don't click my own links while composing an answer. That also wouldn't explain why the "visited" color would disappear in edit mode.
    – KarlG
    Commented Jan 31, 2018 at 10:06
  • Ahh, whatzitcalled caching or something. Maybe mobile sites are slower to refresh or it's the other way round. Not sure, not an expert.
    – Mari-Lou A
    Commented Jan 31, 2018 at 10:09
  • I've noticed this on other Stack Exchange sites while using the desktop site. It's probably this way on all sites.
    – Laurel Mod
    Commented Jan 31, 2018 at 22:37

1 Answer 1

5

The reason is that the .post-text class, to which the "real" post belongs, has a :visited pseudo-class for links which alters their colour.

When you are editing, the edited text appears in a div of class wmd-preview, which does not alter the colour of visited links.

It may be that this feature is by design. It may be that the wmd-preview class should alter the colour of visited links, in order that the preview is accurate. I'm not sure it's actually a bug, though; or that it's serious enough for developers to fix.

However: well noticed. I hadn't.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .