Re: [css3-transitions] Can/should a change of currentColor's computed value trigger a transition ?

On 2/11/11 6:56 PM, Tab Atkins Jr. wrote:
> Do transitions fire based on the specified or computed value?  I can't
> seem to find language in the spec specifying one way or the other

These paragraphs:

   Implementations must not start a transition when the computed
   value of a property changes as a result of declarative animation
   (as opposed to scripted animation).

   Implementations also must not start a transition when the
   computed value changes because it is inherited (directly or
   indirectly) from another element that is transitioning the same
   property.

sure sound like the computed value is what matters.  However the start 
of section 3 still talks about "the value"; it should probably 
explicitly say "computed value".

> some simple testing seems to show that webkit uses specified value:

Yeah, I think we decided a while back that that's not what we want here, 
since it makes transitions on things like percentage widths when 
ancestors are resized not really work that well.

-Boris

Received on Saturday, 12 February 2011 02:02:37 UTC