[selectors] :any-link, :link and :visited should not match HTML's <link>

Hi,

In the definition of :any-link (http://dev.w3.org/csswg/selectors4/#the-any-link-pseudo), the text explicitly mentions the elements it matches for HTML5: <a>, <area> and <link>. I don’t see why matching <link> is useful in that context since it does not have a visual representation.

Looking at compatibility, WebKit, blink and IE do not match <link> for :visited, :link or -webkit-any-link. Firefox seems to be an exception.

I suggest removing <link> and limiting the 3 selectors to visual content.

Benjamin

Received on Wednesday, 13 August 2014 00:32:12 UTC