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

RE: [css-variables] Empty variable values?

From: François REMY <francois.remy.dev@outlook.com>
Date: Sat, 9 Feb 2013 19:10:57 +0100
Message-ID: <DUB002-W35F154EAB24D59EC9672AA5040@phx.gbl>
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
> If you want to have a variable be explicitly invalid but still in the
> OM for some reason, you can explicitly invalidate it with a
> self-reference ("style.var.foo = 'var(foo)';"). This is a horrible
> use-case, though - the only difference between it and unsetting the
> property is that if the property is also set on an ancestor, but you
> don't want that value and want to instead use fallbacks. I can't see
> any reason to ever do that on purpose.

Emulating non-inherited properties without using * { var-xxxx: var(xxxx); } 		 	   		  
Received on Saturday, 9 February 2013 18:11:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT