W3C home > Mailing lists > Public > www-style@w3.org > October 2006

Re: [selectors] New pseudo-class proposal: ":current"

From: David Woolley <david@djwhome.demon.co.uk>
Date: Fri, 13 Oct 2006 22:27:46 +0100 (BST)
Message-Id: <200610132127.k9DLRkd04854@djwhome.demon.co.uk>
To: www-style@w3.org

>    In the former situation, why would you have a link that redirects to
> the current page? I don't think it's unreasonable to require websites to

It's very common.  Most people will link to the home page as 
/, which will generate a redirect to the true home page (in some
cases internally, but the location will still get updated).  Sub-site
home pages are often, incorrectly, given without the trailing /, which
typically results in a real, permanently moved, redirect to the name
with a /, followed by, a possibly internal, redirect to the actual
index/default page.

Content negotation will often result in an updated URL (both for
language and for browser, even if the latter is undesirable).  There
may be browser sniffing or cookie priming steps.  I've found it not that
uncommon for commercial web sites to go through four or five redirects
before they get to a page (although I don't condone this practice).

There is also a very common, although, in my view, undesirable practice
of putting .... href="#" onclick="....", where the scripting opens a
link.

Note also, that this is not a new proposal, so you really do need to
search the archives.
Received on Friday, 13 October 2006 21:29:59 GMT

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