[mpeg-OTspec] AHG Kick-off and new draft to review

Cameron McCormack cam at mcc.id.au
Fri Nov 21 03:28:17 CET 2014


Sorry for my slow reply here.

Sairus Patel wrote:
> The spec draft example shows:
>
> <path fill="var(--color0)" d="...”/>
>
> But doesn’t show how to code a default value if --color0 isn’t defined
> in the stylesheet. I thought we had it there in some previous draft.
> Cameron: does this ring a bell?

I don't remember an example that demonstrated how to do that. But you 
can do it like this:

<path fill="var(--color0, yellow)" d="..."/>

to use yellow when the --color0 variable is not defined.



More information about the mpeg-otspec mailing list