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

Re: WebKit now supports CSS Variables

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 25 Jun 2008 00:36:56 +0200
Message-ID: <18529.30472.858560.510900@opera.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style list <www-style@w3.org>

Also sprach Andrew Fedoniouk:

 > @const and @var handling have significantly different processing models.
 > @const handling happens at parse time and @var is getting evaluated at 
 > runtime.
 > 
 > That is significant shift. E.g. 4bits are required for representing most of
 > enumeration attributes in current CSS. @const is not changing this 
 > requirement.
 > And @var handling requires significantly more - in memory and CPU senses.
 > So is my question: are there any benefits that are worth changing all this?

I agree with your reasoning, the @const proposal seems like a simpler
solution that fulfills mose people's requirements.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Tuesday, 24 June 2008 22:37:42 GMT

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