W3C home > Mailing lists > Public > www-style@w3.org > January 2001

Re: New draft: css3-selectors

From: fantasai <fantasai@escape.com>
Date: Sun, 28 Jan 2001 22:23:43 -0500
Message-ID: <3A74E23F.D147C934@escape.com>
To: www-style@w3.org
Bjoern Hoehrmann wrote:
> 
> * fantasai wrote:
> >Re: 6.6.2 The target pseudo-class :target
> >
> >I can see the usefulness of styling targets, but how is the UA to
> >know whether an element has been targeted or not? Anchors can be
> >targeted from outside the document.
> 
> Well,
> 
>   <a xlink:href="http://host/#target">link</a>
> 
> Most UAs will try to jump to the beginning of the addressed fragment
> when the user follows such a link. They know where they should go as
> they know which links are :visited and wich are :not(:visited).

Ok, I misunderstood that section. So, :target selects the element
with id="target" only if I've just followed a link to #target, not
if I've arrived at http://host/#other-target.

> I strongly agree here, I'd liked the :subject pseudo-class very much.
> Why has it been removed?

One reason is because :subject is not a pseudo-class; that is, the syntax 
is wrong.
  http://lists.w3.org/Archives/Public/www-style/2000Oct/0061.html
Received on Sunday, 28 January 2001 22:23:08 GMT

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