@@ -9,12 +9,13 @@ Level: 1
99Group : csswg
1010TR : http://www.w3.org/TR/css-variables-1/
1111ED : http://dev.w3.org/csswg/css-variables/
12+ Previous Version : http://www.w3.org/TR/2014/WD-css-variables-1-20140506/
1213Previous Version : http://www.w3.org/TR/2013/WD-css-variables-1-20130620/
1314Previous Version : http://www.w3.org/TR/2013/WD-css-variables-20130312/
1415Previous Version : http://www.w3.org/TR/2012/WD-css-variables-20120410/
1516Editor : Tab Atkins Jr., Google, http://xanthir.com/contact
1617Abstract : This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties, and custom properties for defining them.
17- Ignored Terms : case-insensitive, getpropertyvalue()
18+ Ignored Terms : getpropertyvalue()
1819Link Defaults : css-color-3 (property) color, cssom-1 (interface) cssstyledeclaration
1920</pre>
2021
@@ -172,7 +173,7 @@ Custom Property Value Syntax</h3>
172173 and the values of ''var()'' functions substituted into custom properties,
173174 are <em> case-sensitive</em> ,
174175 and must be preserved in their original author-given casing.
175- (Many CSS values are case-insensitive,
176+ (Many CSS values are <a>ASCII case-insensitive</a> ,
176177 which user agents can take advantage of by "canonicalizing" them into a single casing,
177178 but that isn't allowed for custom properties.)
178179
@@ -608,7 +609,7 @@ Variables in Shorthand Properties</h3>
608609 if an API allows them to be observed.
609610
610611 Similarly,
611- while [[CSSOM]] defines that shorthand properties are serialized
612+ while [[CSSOM-1 ]] defines that shorthand properties are serialized
612613 by appropriately concatenating the values of their corresponding longhands,
613614 shorthands that are specified with explicit ''var()'' functions
614615 must serialize to the original, ''var()'' -containing value.
@@ -641,7 +642,7 @@ AAAAAAA AAAAAAAPPPPPPPPPP IIIIIIIIII
641642<h2 id='apis'>
642643APIs</h2>
643644
644- All <a>custom property</a> <a>declarations</a> have the <a >case-insensitive</a > flag set.
645+ All <a>custom property</a> <a>declarations</a> have the <var > case-insensitive</var > flag set.
645646
646647 Note: Custom properties do not appear on a CSSStyleDeclaration object in camel-cased form,
647648 because their names may have both upper and lower case letters
@@ -655,27 +656,17 @@ Serializing Custom Properties</h3>
655656 Custom property names must be serialized with the casing as provided by the author.
656657
657658 <p class='note'>
658- Ordinarily, property names are restricted to the ASCII range and are case-insensitive,
659+ Ordinarily, property names are restricted to the ASCII range and are <a>ASCII case-insensitive</a> ,
659660 so implementations typically serialize the name lowercased.
660661
661662
662663
663664<h2 id='changes'>
664- Changes since the June 20 2013 Last Call Working Draft</h2>
665-
666- <ul>
667- <li>
668- The syntax of custom properties was changed from ''var-foo'' to ''--foo'' .
669-
670- <li>
671- The ''var()'' function takes the full custom property name as its first argument,
672- rather than the name minus a prefix.
673-
674- <li>
675- The CSSVariablesMap interface was removed,
676- in favor of a better custom-property API to be defined in the future.
677- </ul>
665+ Changes since the May 6 2014 Last Call Working Draft</h2>
678666
667+ * Serialization of longhands when shorthand uses a variable was defined.
668+ * Link to DOM's definition of "case-sensitive".
669+ * Added example of using variables with '':lang()'' to do simple i18n.
679670
680671
681672<h2 id="acks">
0 commit comments