[mpeg-OTspec] format of CSS Variables has changed

Cameron McCormack cam at mcc.id.au
Mon Mar 24 21:39:57 CET 2014

Levantovsky, Vladimir wrote:
> Thank you very much for letting us know about the upcoming changes in
> the CSS Variables spec and the new format for custom properties names. I
> will add these to the list of changes related to the user agent style
> sheet, with this and earlier changes you recommended it will look as
> follows (just want to make sure that I get everything right):
> @namespace svg url(http://www.w3.org/2000/svg);
> svg|text, svg|foreignObject {
>   display: none !important;;
> }
> :root {
>   fill: context-fill;
>   fill-opacity: context-fill-opacity;
>   stroke: context-stroke;
>   stroke-opacity: context-stroke-opacity;
>   stroke-width: context-value;
>   stroke-dasharray: context-value;
>   stroke-dashoffset: context-value;
>   /* examples: optional custom property declarations */
>   --color<num>: <color>;
>   --color0: rgba(255,0,0, 0.5);
> }
> Does this look okay?

Yes that looks right, apart from the double semicolon on the first 


More information about the mpeg-otspec mailing list