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

> 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 
:visited

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