News for hackers. Stuff that matters.
Re:CSS Variables landing in Chrome 49 by TabAtkins on Monday February 08, 2016 @01:23PM (#11059881)
That's exactly what you can do. var() is replaced at computed-value time, so calling gCS().color will return "red" or whatever.

If you use an API that gives you the value at an earlier time, like el.style.color (which is "specified value"), you'll see the var().

There are no comments on this comment yet.