Re: [CSS-Variables] Suggestion of change to time of substitution

If I'm correct his point seems to be that

    .some {
        var-x: inherit;
    }

is being affected by the [[6.1.2 Interitance]] paragraph of CSS 2.1 so that 
the computed value of the 'var-x' property on the '.some' elements will 
actually inherit the value of the parent, and this will affect the children 
element as well as it's the computed value which is inherited and not the 
specified/resolved one. If I'm not mistaken, we need to state explicitely 
that the only algorithm impacting the computed value of custom properties is 
the reference resolution algorithm, whatever other specifications may say 
(ie: 'vw' aren't computed in 'px', inherit isn't subsituted by the value on 
the parent, etc).




-----Message d'origine----- 
From: Tab Atkins Jr.
Sent: Wednesday, October 31, 2012 1:58 PM
To: Tom Potts
Cc: CSS WG ; François REMY
Subject: Re: [CSS-Variables] Suggestion of change to time of substitution

So, it seems like the problem you have is that you'd like to be able
to have a variable resolve to the same thing as 'inherit' would.  Is
this correct?

~TJ

Received on Wednesday, 31 October 2012 13:12:49 UTC