Skip to content

[css-contain-3] Explicitly define container as not animatable #8435

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

Closed
wants to merge 1 commit into from

Conversation

cdoublev
Copy link
Collaborator

@cdoublev cdoublev commented Feb 9, 2023

The Animation type of animation, transition, scroll-timeline, which are shorthands whose sub-properties are all not animatable, is explicitly defined as not animatable instead of see individual properties, like container.

In my opinion, see individual properties should be used only when some/all sub-properties are animatable.

@tabatkins
Copy link
Member

Actually animation/etc should be changed the other way. Shorthands do not have animation behavior, only longhands do. (Same as how they don't have inheritance behavior, or initial values.)

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

Successfully merging this pull request may close these issues.

2 participants