W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-om][css-variables] exposing variables through CSSStyleDeclaration

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 28 Aug 2013 18:43:35 +1000
Message-ID: <521DB837.8090103@mcc.id.au>
To: Simon Pieters <simonp@opera.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Simon Pieters wrote:
> The CSSOM spec is probably wrong when it comes to how to deal with
> variables. I'll look into fixing it.
> I'm not sure what getComputedStyle should do. I guess include all
> "supported CSS properties" (i.e. excluding variables) and then include
> the specified variables.

Yes.  In terms of the order of the declaration (for item()), we can 
stick the variables after all of the other supported properties.  I'm 
not sure what order they should appear in, though.  Do you think we need 
them to be in a specific order (somehow taken from the order of matching 
rules and declarations within those rules, or sorted order)?
Received on Wednesday, 28 August 2013 08:44:17 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:31 UTC