- From: Daniël Pelsmaeker <daniel.pelsmaeker@zonnet.nl>
- Date: Mon, 13 Sep 2004 22:25:09 +0200
- To: <www-style@w3.org>
- Cc: "'Anne van Kesteren'" <fora@annevankesteren.nl>
Anne van Kesteren wrote: > >>> By the way, isn't target-new very element specific? It is really > >>> only used for A elements, for (X)HTML pages, while almost all > >>> other (CSS2) properties apply to any element, even on XML pages. > >> > >> Ever heard of XLink, XHTML 2.0, HLink and possible other languages > >> that define a general way of linking from each element? > > > > Yes, I have. But I can use the rest of the CSS properties on any > > element in any XML/SGML compatible document. The target-new property > > can only be used when the UA supports the associated technologies (or > > reads the DTD or whatever). > > UAs will probably never read DTDs (too large, too complex and it > wouldn't help a thing). > > I guess you mean 'target-new' (and releated properties) can only be used > when the element matches the ':link' or ':visited' pseudo-class? (Like > AREA, LINK and A do in HTML 4.01.) Indeed. But the ':link' and ':visited' pseudo-classes are intended for styling, and they are not link-specific. 'target-new' is not for styling, and actually is link specific. I think it will mostly be used in the style attributes of elements, instead of in stylesheets. Therefore, I would not add the 'target-...' properties to CSS, but to the XML technologies and elements on which these properties are most meaningful (A, LINK, etc...).
Received on Monday, 13 September 2004 20:26:10 UTC