Re: [css-shapes] Interpolation from or to none

On 10/24/14, 4:46 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

>On Fri, Oct 24, 2014 at 3:14 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> It seems that the interpolation from a basic shape to ‘none', or ‘none'
>>to a basic shape is not allowed according to the spec [1]. IIRC, both
>>interpolations are possible in WebKit and Blink. I think these should be
>>added to the spec.
>
>I agree that "none" should be interpolable to/from any shape.

I’m not sure. We should certainly *animate* between none and basic shapes,
and that’s what appears to be implemented. The property switches between
values at 50%, which is what I’d expect given the spec as it is.

>
>> IMO, it would be great if CSS Shapes could say that additive,
>>accumulative animations as well as distance computations[2] are possible
>>(as long as ellipse/circle do not have ‘farthest-side’/‘closest-side’
>>specified). The individual scalars of the shape function values are
>>taken to compute the results.
>
>Sounds good to me.  Addition is possible weird, but that's the
>responsibility of the author to use responsibly.
>Accumulative/distince computation definitely makes sense.

Do either of you have examples where this would come in to play?

Thanks,

Alan

Received on Monday, 27 October 2014 16:16:49 UTC