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

[css-display-3] [web-animations-1] Conflicting animation type for visibility #8611

Open
yarusome opened this issue Mar 18, 2023 · 1 comment

Comments

@yarusome
Copy link

CSS Display Module Level 3 defines the animation type of visibility to be discrete, but Web Animations Level 1 defines in the appendix a special interpolation method for visibility:

For the visibility property, visible is interpolated as a discrete step where values of p between 0 and 1 map to visible and other values of p map to the closer endpoint; if neither value is visible then discrete animation is used.

which means that it's not "flipping at half way" as the definition of discrete animation type. So at least one spec needs a fix on this.

@birtles
Copy link
Contributor

birtles commented Mar 18, 2023

CSS display adjusts to be wrong here.

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