Re: WebKit now supports CSS Variables

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 UTC