- From: Christoph Päper <christoph.paeper@tu-clausthal.de>
- Date: Fri, 10 Dec 2004 17:09:26 +0100
- To: www-style <www-style@w3.org>
- Cc: kevin@multiblah.com
*Kevin Cannon* <kevin@multiblah.com>:
>
> e.g. h1 {
> font-family: Verdana, sans-serif;
> color: red;
> etc...
> }
> h2 {
> based-on: h1;
> font-size: 1.4em
> }
Grammar issues aside, what do you do on a further
h1 {
based-on: h2;
}
IOW, this opens up for circular dependencies, whereas the current CSS way
(since level 1) does not:
h1, h2 {
font-family: Verdana, sans-serif;
color: red;
}
h2 {
font-size: 1.4em
}
Okay, to be fair, the cascading rules could probably take care of the
dependency.
Received on Friday, 10 December 2004 16:09:55 UTC