W3C home > Mailing lists > Public > www-style@w3.org > February 2013

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

From: John Daggett <jdaggett@mozilla.com>
Date: Wed, 27 Feb 2013 16:17:01 -0800 (PST)
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <961643073.5610785.1362010621146.JavaMail.root@mozilla.com>
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.

Received on Thursday, 28 February 2013 00:17:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC