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

RE: CSS Variables or Inhertage ?

From: Mike Wilson <mikewse@hotmail.com>
Date: Tue, 24 Jun 2008 14:12:39 +0200
Message-ID: <BAY116-DAV19D4B679454DB0D320E8FA4A10@phx.gbl>
To: "'Francois Remy'" <fremycompany_pub@yahoo.fr>, "'CSS 3 W3C Group'" <www-style@w3.org>
Message-ID: <00d001c8d5f3$98dc6910$0a01a8c0@mikedeskxp>

Francois Remy wrote:
> I think this is not a good idea
> 
> What you're wanting here is more an "CSS Inheritage".
> It's a very good feature to ask, but this is not in links 
> with variables :-)
>
> What about a synthax like :
> ...

Oh, I quite like the inheritance model. Some inheritance 
suggestions were discussed on this list in February, see
http://www.nabble.com/-css3--Suggestion%3A-Selector-variables-or-%E2%80%9Csy
nonyms%E2%80%9D-td15315866.html#a15315866
(it's a long thread with several different suggestions)

Then, in April/May Daniel's and David's CSS Variables suggestion 
appeared as a high priority module, without support for inheritance
or any other means of "expanding multiple property assignments
with a single reuse statement".

As Daniel participated in the February discussion, but left 
inheritance out of his spec, my previous mail tried to formulate
something as compatible as possible with his preferred approach
that would still achieve the multiple properties goal. I'd rather 
have a non-perfect design in reality than a perfect design in 
theory ;-). But I'd be very happy if you manage to persuade w3c
to standardize your model.

Best regards
Mike Wilson
Received on Tuesday, 24 June 2008 12:14:07 GMT

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