format of CSS Variables has changed

cam at mcc.id.au cam at mcc.id.au
Sun Mar 23 23:53:35 CET 2014


Hi,

The W3C CSS Working Group agreed at their last teleconference to make a last minute change to the syntax used to declare CSS Variables. This affects the user agent style sheet that is required to be applied when processing font SVG documents that come from the SVG table. Instead of using custom properties with names that begin with a "var-" prefix, they now begin with "--". Also, variable references must now use the full custom property name rather than just the part after the prefix. (These changes are yet to make it into the CSS Variables specification http://dev.w3.org/csswg/css-variables/ but will be made soon.)

The spec changes needed to account for this are just to replace the two occurrences of "var-color" with "--color", and the right-hand side variable reference "var(color0)" with "var(--color0)".

Thanks,

Cameron


More information about the mpeg-otspec mailing list