a:visited priority : a bug or a feature

Giganews Newsgroups
Subject: a:visited priority : a bug or a feature
Posted by:  VK (schools_ri…@yahoo.com)
Date: 30 Oct 2005

a:active {  color: #FF0000; text-decoration: underline}
/* a:visited color rule has higher priority over
  a:hover if viewed from your local drive,
  so visited links will not "hover".
  To fix this bug (feature?) one should use
  additional !important instruction: */
a:hover {  color: #FF0000 !important; text-decoration: underline}
a:link {  color: #0000FF; text-decoration: underline}
a:visited {  color: #800080; ; text-decoration: underline}

I used this fix for year and just got curious: is it a bug or
considered to be a documented feature?

Replies