W3C home > Mailing lists > Public > www-style@w3.org > June 2004

Re: CSS and structure

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Wed, 30 Jun 2004 01:34:01 +1000
Message-ID: <40E18BE9.8010702@iinet.net.au>
To: Orion Adrian <oadrian@hotmail.com>
Cc: lachlan.hunt@lachy.id.au, www-style@w3.org

Orion Adrian wrote:
> Let's make this simple.
> 
> div {
>  display: block;
>  margin: 1em;
> }
> 
> would become
> 
> div {
>  @block {
>    margin: 1em;
>  }
> }
> 
> the idea being that the display rule could be replaced with at rules 
> that would constrain the set of properties allowed under them.

   Still makes no sense because you've got an @-rule acting like a 
property/value, which only serves to make the language more confusing, 
which is currently isn't.

-- 
Lachlan Hunt

http://www.lachy.id.au/
lachlan.hunt@lachy.id.au
Received on Tuesday, 29 June 2004 11:34:37 GMT

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