[mpeg-OTspec] format of CSS Variables has changed

Levantovsky, Vladimir vladimir.levantovsky at monotype.com
Mon Mar 24 21:45:45 CET 2014


> apart from the double semicolon on the first declaration.

Will fix, thanks!

-----Original Message-----
From: Cameron McCormack [mailto:cam at mcc.id.au] 
Sent: Monday, March 24, 2014 4:40 PM
To: Levantovsky, Vladimir
Cc: mpeg-OTspec at yahoogroups.com
Subject: Re: [mpeg-OTspec] format of CSS Variables has changed

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 declaration.

Cameron


More information about the mpeg-otspec mailing list