Latest Webkit nightlies now support CSS Variables
Dave Hyatt informs us that the latest Webkit nightlies now support an experimental implementation of CSS Variables.
The news comes only days after Daniel announced on his blog that he and Dave were in the process of finalizing a new version of the spec based on both feedback from readers and the Webkit implementation.
Nightlies can be downloaded from here and they’ve also provided a fair few test cases.













[...] CSS3.info informan que la gente de WebKit está actualmente con una implementación experimental de las [...]
[...] das Ganze mangels Mac nicht – der Windows-Build ist im Moment noch eine alte Version. Aber wenn CSS3.info so schreibt, kann man dem [...]
How exciting, I can’t wait to use this new feature. Has this officially entered the CSS3 proposal?
[...] (via Latest Webkit nightlies now support CSS Variables) [...]
Eh, just property values.
Well, better that than nothing.
But I would really love to see sth like
SomeBigAssSelector = #saf > sagsg + asg + sxz > xvv > sagsg:first-child + sag + xzxb.sfsf > ggs35 > asggs + sgasg35
SomeBigAssSelector {
color: red;
}
SomeBigAssSelector:hover {
color: green;
}
@Neal G - From the spec- “This document may be updated based on implementation experience, but no commitment is made by the authors regarding future updates. Authors would like the proposals contained in this document to be discussed in the CSS Working Group for open standardization under W3C Process.”
[...] CSS3.info weet te melden, voordat er ook maar enige melding is gemaakt op WebKit’s eigen weblog Surfing Safari, dat WebKit in recente nightly builds de eerder voorgestelde CSS variabelen ook daadwerkelijk implementeert. [...]
This will be such a valuable feature, I just hope it doesn’t take 10 years for browsers to catch up.
@Tim Right - you are aware that you can achive exactly the same effect with server-side variables with very little effort, right?
This is a really bad idea, because well written css shouldn’t need variables, it would be just a way to make people write bad css and still manage it easily!