Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation type: as rectangle #434

Open
svgeesus opened this issue Aug 3, 2021 · 3 comments
Open

Animation type: as rectangle #434

svgeesus opened this issue Aug 3, 2021 · 3 comments

Comments

@svgeesus
Copy link
Contributor

svgeesus commented Aug 3, 2021

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
Copy link
Contributor

birtles commented Aug 3, 2021

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
Copy link
Contributor Author

svgeesus commented Aug 3, 2021

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

@birtles
Copy link
Contributor

birtles commented Aug 5, 2021

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants