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.

  • Digg
  • del.icio.us
  • Facebook
  • Print this article!
  • StumbleUpon
  • TwitThis
  • E-mail this story to a friend!
June 23rd, 2008 by James Hopkins in Proposals. You can leave a response, or trackback from your own site.

10 Comments to “Latest Webkit nightlies now support CSS Variables”

  1. Webkit soporta variables CSS | aNieto2K Says:

    [...] CSS3.info informan que la gente de WebKit está actualmente con una implementación experimental de las [...]

  2. CSS-Variablen sind in der Realität angekommen - Peter Kröner - Die Kunst des Machbaren Says:

    [...] das Ganze mangels Mac nicht – der Windows-Build ist im Moment noch eine alte Version. Aber wenn CSS3.info so schreibt, kann man dem [...]

  3. Neal G Says:

    How exciting, I can’t wait to use this new feature. Has this officially entered the CSS3 proposal?

  4. Proměnné v CSS implementovány ve WebKitu - Martin Hassman: blog nejen o prohlížečích Says:

    [...] (via Latest Webkit nightlies now support CSS Variables) [...]

  5. paziek Says:

    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;
    }

  6. James Hopkins Says:

    @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.”

  7. Scriptorama.nl » WebKit implementeert CSS variabelen Says:

    [...] 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. [...]

  8. Tim Wright Says:

    This will be such a valuable feature, I just hope it doesn’t take 10 years for browsers to catch up.

  9. james@idreamincode.co.uk Says:

    @Tim Right - you are aware that you can achive exactly the same effect with server-side variables with very little effort, right?

  10. me Says:

    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!

Leave a Comment