W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css-variables] Non-inherited custom properties (Issue 5)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 6 Sep 2012 12:11:52 -0700
Message-ID: <CAAWBYDCZK+t+Xer5ote+mQgRuA01iZQb9LxvCCkycjWAV-d62g@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: CSS WG <www-style@w3.org>
On Thu, Sep 6, 2012 at 2:48 AM, François REMY <fremycompany_pub@yahoo.fr> wrote:
> There have been many request for non-inherited custom properties. However,
> it’s impossible to specify them in the file in a good way, which makes them
> basicly impossible.
>
> My proposed solution (don’t necessarily assume Brian and Chris support on
> this) would be a ‘use-declared()’ function that only takes in consideration
> the specified value of the referenced property if it was explicitely defined
> on the element (so, not if its initial state or inherited value are in use).

I'm interested in solving this, either at the point of reference (as
you suggest) or at the point of definition (in the custom property).

However, I'm not sure it *needs* to be solved.  Do you have some
examples of things that are problematic if variables always inherit?

~TJ
Received on Thursday, 6 September 2012 19:12:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:59 GMT