w3c / fxtf-drafts

Mirror of https://hg.fxtf.org/drafts
https://drafts.fxtf.org/
Other
68 stars 48 forks source link

Animation type: as rectangle #434

Open svgeesus opened 2 years ago

svgeesus commented 2 years ago

In css-masking-1:

Animation type: as <a href="http://dev.w3.org/csswg/css3-transitions/#animtype-rect">rectangle</a>

However, the definition of animation type seems to have moved from css-transitions-2 to web animations. Furthermore, the rectangle type no longer exists.

I think the correct new type is by computed value but wanted to check. @birtles @dirkschulze @tabatkins

birtles commented 2 years ago

I can't see a definition for the interpolation of rect() anywhere. Maybe we need to add one here like we have for basic shapes: https://drafts.csswg.org/css-shapes/#basic-shape-interpolation

svgeesus commented 2 years ago

@birtles that seems reasonable to me. I'm puzzled why the earlier definition of interpolating rectangles went away. Probably an inadvertent change?

birtles commented 2 years ago

@birtles that seems reasonable to me. I'm puzzled why the earlier definition of interpolating rectangles went away. Probably an inadvertent change?

@svgeesus It seems inadvertent. Most of the interpolation procedures moved to V&U and the ones that didn't fit there we stuck in an appendix in Web Animations: https://drafts.csswg.org/web-animations-1/#animation-types

So maybe rect ended up living somewhere else. I wonder if <rect> defined as a CSS type anywhere? Or if it was previously?