Re: [css-variables] fallback value handling needs better definition

On Wed, Feb 27, 2013 at 4:17 PM, John Daggett <jdaggett@mozilla.com> wrote:
> Tab Atkins wrote:
>> > So what is the use case that benefits from having a fallback
>> > value, since it's basically only a fallback for undefined
>> > variables?  Seems like unnecessary complexity for level 1.
>>
>> Nope, quite useful for the theming use-case, where you use some
>> variables in your component that may or may not be defined by the
>> final author of the page.
>
> Ah, that makes sense.  Might be nice to have a note somewhere pointing
> out that use case.

I added an example illustrating this use-case exactly due to an
unrelated edit you requested in another thread.

~TJ

Received on Thursday, 28 February 2013 09:12:59 UTC