  Re: Does :target pseudo-class apply to XML documents?  From:
Sampo Syreeni <decoy@iki.fi> Date: Sun, 22 Apr 2001 13:37:23
+0300 (EEST) To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
cc: <www-style@w3.org> Message-ID:
<Pine.SOL.4.30.0104221333360.4801-100000@kruuna.Helsinki.FI> On
Sat, 21 Apr 2001, Elliotte Rusty Harold wrote:  >The description
of the :target pseudo-class in CSS3 module: W3C >selectors
leaves a number of questions open. In particular: >1. Does it
only work in HTML where there are well-defined target
>attributes, or does it work in XML too?  AFAIK, it's meant to
work in any environment where the application is capable of
telling what a *:target is. In fact, HTML usually isn't one of
these, since the client will not always know which elements are
pointed at from another document. When the document is arrived
at via a reference, then we know, not otherwise.  >2. Why not
just use the attribute selectors on target attributes?  :target
and [class="id"] are two completely separate things. The f