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

On 2/11/11 5:42 PM, Sylvain Galineau wrote:
> If I have:
>
> #test {
> 	transition-property: background-color;
> 	transition-duration: 0.20s;
> 	background-color: currentColor;
> 	color:blue;
> }
>
> #test:hover {
> 	color:red;
> }
>
> What happens ?

The intent, last I checked, was that transitions happen when computed 
values change (with exceptions made for computed value changes due to 
transitions on ancestors and declarative animation).  So in this case I 
would expect a transition on the background-color.  This is what Gecko 
does, in fact.

-Boris

Received on Saturday, 12 February 2011 01:54:08 UTC