[webkit-dev] Feature Announcement: CSS Variables (behind ENABLE_CSS_VARIABLES flag)
macpherson at chromium.org
Sun May 13 20:53:17 PDT 2012
I'm working on adding CSS Variable support to WebKit.
You can see the specification here: http://www.w3.org/TR/css-variables/
The patch implements a -webkit prefixed syntax of that defined by that spec.
The WIP patches can be found here:
and will be split up into smaller chunks for landing.
It is currently behind the ENABLE_CSS_VARIABLES flag, and there should
be no impact with that flag disabled (by default) as the code is
With the flag enabled the overheads are the addition of a pointer to
RenderStyle, and applying variables in the appropriate order in
Tests can be found under fast/css/variables. These provide some good
examples of usage and are skipped by run-webkit-tests when variables
were not enabled at build.
Please Let me know if I can answer any questions,
More information about the webkit-dev