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

>    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 UTC