W3C home > Mailing lists > Public > www-style@w3.org > August 2014

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

From: Benjamin Poulain <bpoulain@apple.com>
Date: Tue, 12 Aug 2014 17:18:27 -0700
Message-id: <6B9E728F-F410-4253-B2C8-0083832F2889@apple.com>
To: www-style@w3.org

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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:45 UTC