W3C home > Mailing lists > Public > www-style@w3.org > July 2007

Re: Suggestion for new link pseudo-class :current (or similar

From: <leslie.brown@evidian.com>
Date: Tue, 31 Jul 2007 17:15:02 +0200
To: www-style@w3.org
Message-ID: <OFDFEFD8A7.D02EAA4F-ONC1257329.0052C647@evcl.evidian.com>

> Grey Hodge wrote:

>> add a :current (or some other name) pseudo-class that refers only to 
URLs that
>> match the currently loaded page, and can be styled differently like 

David Woolley wrote:
> The big problem is that, in general, pages may have multiple URLs, and
> with content negotiation, it may be the case that none of them match the
> Location header that comes back with the HTTP response.

That's a real problem, but not a valid argument for not implementing 
:current (otherwise :visited wouldn't work either).

Guess what would happen if :current became available tomorrow?
People who wanted to use it would clean up their links so it worked
reliably all the time, because it's just too useful. 
Benefits all round.

Les Brown
Received on Tuesday, 31 July 2007 15:15:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:29 UTC