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

Re: Proposal for current Link Pseudo-class

From: David Woolley <forums@david-woolley.me.uk>
Date: Fri, 16 Nov 2007 21:54:16 +0000
Message-ID: <473E1188.8020809@david-woolley.me.uk>
To: Public W3C CSS Style Discussion <www-style@w3.org>

Jason Cranford Teague wrote:
> *CSS 3 Recommendation*
> *Current Link Pseudo-class Selector*

Except that the path component count is novel, this gets proposed at 
regular intervals.

> conveniently style a link based on the clients current URI in order to 

Which URI?  The basic problem is that a page often has more than one URI 
and the one that is in the address bar is not necessarily the one that 
is used in links within the page.

> current URI, but also style links based on directory level. 

Only some types of URI are hierarchical.  Of those, only some use "/" as 
a hierarchy level delimiter.  For http: scheme URLs, the path components 
don't necessarily represent directories (and, unfortunately, there are a 
lot content management systems that produce completely flat structures).

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Friday, 16 November 2007 21:54:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:56 GMT