Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Added rule for :visited and :link styles can only differ by color." #372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chase-martin
Copy link

"Added rule for ':visited and :link styles can only differ by color.' See: http://msdn.microsoft.com/en-us/library/ie/hh180764(v=vs.85).aspx and https://developer.mozilla.org/en-US/docs/CSS/Privacy_and_the_:visited_selector for details."

@stubbornella
Copy link
Member

I thought for the most part browsers didn't allow you to interrogate the visited styles of a link anymore? Have I misunderstood?

@stubbornella
Copy link
Member

Oh, I think I see on the moz link, basically other styles won't be applied anyway. Is that true across browsers?

@XhmikosR
Copy link
Member

I'd like to have a check for this, but from https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector#Limits_to_visited_link_styles I see

Only the following properties can be applied to visited links:

  • color
  • background-color
  • border-color (and its sub-properties)
  • outline-color
  • The color parts of the fill and stroke properties

So, perhaps this could be extended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants