Re: [variables] invalid variables

On Thu, Nov 3, 2011 at 2:02 PM, Roland Steiner <rolandsteiner@google.com> wrote:
> A default value on data() should be fine I guess - it wouldn't quite address
> the 2nd of my examples, but I'm not sure that's compelling enough to warrant
> added complexity.
> For a default value, would chaining be possible? E.g.:
> .myvideo::play-button {
>   color: data(play-button-color, data(panel-color, black));
> }

I don't see why not.

> Completely random PS: I guess "data(data(variable-to-choose))" is probably
> prohibited as well? (no use case, just curious if that'd be doable).

Yeah, prohibited, at least at this level.  ^_^

~TJ

Received on Thursday, 3 November 2011 21:30:28 UTC