- From: (wrong string) äper <christoph.paeper@tu-clausthal.de>
- Date: Mon, 16 Dec 2002 20:08:31 +0100
- To: <www-style@w3.org>
- Cc: "Robert..." <wilde825@planet.nl>
Robert...:
>
> A few days ago the idea came up, to use CSS like the model of the real
> document, the document model. This way it would represent the structure of
> the document much better than it does in css1/2.
CSS is by no means a mark-up language and doesn't need to represent the
document tree. In fact it's more powerful if it doesn't. IIRC there's a
stylesheet language similar to your idea--DSSSL?
> form.stlFormElement
> {
> div
> { color: red;
> span
> {
> input
> { font-weight: bold; }
> }
> }
> }
>
> Is this possible ?
It'd break some, if not all, exisiting implementations.
> Would it be usefull
No. Nested selectors aren't as powerful as CSS's current selectors (with
",", "+", ">", " ").
Christoph Päper
Received on Monday, 16 December 2002 14:08:30 UTC