A few days ago,
Daniel Glazman published on his
blog the news that he and
David Hyatt successfully implemented the idea of
CSS constants (an article
in my blog ). Today everyone can see CSS constants in action. To do this, install the latest version of
WebKit Nightly Builds .
Actually, here is my little test: I set the styles of the div to constants.

I am glad that the developers didn’t abandon their idea and now they’ll certainly bring the matter to the finish. But when webmasters will be able to use it is unknown ... Yes, and the code looks quite cumbersome for now, but at least something :)
It is interesting, whether the opportunity to use not only constants, but also variables will be implemented, like:
@-webkit-variables {
div1_height: auto;
div2_height: 100px;
div2_width: div1_height - div2_height; }
That would be just a great solution to a lot of problems in the layout process.
')
Cross post