W3C home > Mailing lists > Public > www-style@w3.org > February 2002

Selector nesting (was: <none>)

From: Thomas Hurst <tom.hurst@clara.net>
Date: Tue, 12 Feb 2002 22:09:44 +0000
To: www-style@w3.org
Message-ID: <20020212220944.GA42164@voi.aagh.net>
* Todd Smith (todd@toddsmith.com) wrote:

>       Relating to the Syntax and Grammar module, I suggested that
> nesting of selectors be allowed, for the purposes of simplifying style
> sheets and providing a more encapsulated look to the sheet as well.

This provides no extra functionality (you can do it just as well using
.foo .bar { .. } or so) and complicates implimentation and parsing.

Also, since clients aren't likely to be written with this sort of format
in mind, it's going to have rather poor backward compatibility; when the
client see's the extra { it'll either ignore it, or imply the }; neither
of which will result in the desired behavior.

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
-
Health is merely the slowest possible rate at which one can die.
Received on Tuesday, 12 February 2002 17:09:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:13 GMT