W3C home > Mailing lists > Public > www-style@w3.org > October 2014

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

From: Alan Stearns <stearns@adobe.com>
Date: Mon, 27 Oct 2014 16:16:19 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, Dirk Schulze <dschulze@adobe.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <D073BD5F.20C15%stearns@adobe.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:25 UTC