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

Re: New draft: css3-selectors

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 28 Jan 2001 04:15:31 +0100
To: fantasai <fantasai@escape.com>
Cc: www-style@w3.org
Message-ID: <v2177tckb1p62rahbgg7lu48cdopbts1a9@4ax.com>
* 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.


  <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).

>Re: parent selector
>  There doesn't seem to be a way of selecting the parent element or
>  any of the other things allowed by the previous draft's :subject 
>  modifier. I didn't get around to actually /reading/ the draft yet,
>  so I might've missed it, but I think that if you're planning to put
>  it in any version of CSS, you should introduce a subject modifier
>  in this one; it probably won't get in the implementations for another
>  five-ten years otherwise. =P

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

One thing to add,

  will be broken into several lines. The first

  <p><p::first-line> This is a somewhat long HTML 
  paragraph that will </p::first-line>

in section 7.1 (several times), I think this error is an errata item for
CSS Level 2.
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981028 ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
 Well, my .signature isn't the most interesting part of my articles....
Received on Saturday, 27 January 2001 22:14:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:56 UTC