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

RE: [Css Variables] Variable Declaration Blocks

From: Mike Wilson <mikewse@hotmail.com>
Date: Mon, 6 Oct 2008 17:29:43 +0200
Message-ID: <BAY116-DAV323F8A7C79EB873E6D6B0A4390@phx.gbl>
To: "'fantasai'" <fantasai.lists@inkedblade.net>
Cc: <www-style@w3.org>
Message-ID: <020101c927c8$5b3e93e0$0a01a8c0@mikedeskxp>

fantasai wrote:
> This was as far as I got Friday afternoon at the F2F:
>    http://fantasai.inkedblade.net/style/specs/constants/
> It's not very complete, but I think it captures the important points
> in the discussion.

Hi fantasai,

I wonder about your thoughts on the parse-time process that
does the variable replacements; I guess it builds up some 
kind of translation map with variable names and values that
it uses while parsing files, but do you envision this map 
being thrown away or kept after parsing is complete?

Consider if a new style sheet is loaded by script through 
CSSOM, and it should have variables replaced, then I guess 
it would be most convenient to have kept the translation 
map. Otherwise it could be a complex process to reload all 
preceeding style sheets to recreate any variables. So UAs
would in practice need to maintain a map of all variables 
and values during a page's lifetime even though this is a
parse-time solution, right?

Best regards
Mike Wilson
Received on Monday, 6 October 2008 15:30:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:40 UTC