CSS WG Blog CSS Custom Properties for Cascading Variab…

This is a page from the Cascading Style Sheets Working Group Blog. Some other places to find information are the “current work” page, the www-style mailing list, the Future of CSS syndicator, and the issue list on Github.

Do you want to know how the CSS WG works? Fantasai has written about:csswg, An Inside View of the CSS Working Group at W3C.

CSS Custom Properties for Cascading Variables LCWD updated!

By Tab Atkins Jr. May 6, 2014 (Permalink)
Categories: Uncategorized

The CSS Working Group has published an updated Last Call Working Draft of CSS Custom Properties for Cascading Variables (colloquially known as “CSS Variables”). This specification defines custom properties, which are author-defined properties which can accept any value, and the var() function, which lets authors substitute the value of a custom property into another property.

This new Last Call draft has been published because there have been significant changes to the syntax of custom properties and how they are used in the var() function—rather than defining custom properties with names like “var-foo”, they now have names like “–foo”, to be consistent with the plan for other custom extensions to CSS. The CSSVariablesMap interface has also been dropped, in the expectation that a future module extending the concept of custom properties will define something more useful.
Changes since the last Working Draft are listed in the Changes section.

As always, please send feedback to the (archived) public mailing list www-style@w3.org with the spec code ([css-variables]) and your comment topic in the subject line. (Alternatively, you can email one of the editors and ask them to forward your comment.)

« Previous article Next article »

[Photo: group photo of the CSS working group in San Francisco] Contact: Bert Bos
Copyright © 2020 W3C®

Last updated 2014-05-06 17:50:24