Skip to content

Chrome 150 zoom property animatable - #30358

Merged
chrisdavidmills merged 3 commits into
mdn:mainfrom
chrisdavidmills:animatable-zoom
Sep 10, 2026
Merged

Chrome 150 zoom property animatable#30358
chrisdavidmills merged 3 commits into
mdn:mainfrom
chrisdavidmills:animatable-zoom

Conversation

@chrisdavidmills

Copy link
Copy Markdown
Contributor

Summary

From Chrome 150 onwards, the zoom CSS property is animatable; see https://chromestatus.com/feature/5183671737909248.

The spec has been updated so that zoom is now marked as animated by computed value type.

This PR adds a new data point for animatable zoom.

From what I can tell (see https://bugzilla.mozilla.org/show_bug.cgi?id=1917602), Firefox has always supported animatable zoom, so I've marked it as supporting this data point from version 126 - when it was first supported.

Test results and supporting details

Related issues

@github-actions github-actions Bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed labels Aug 28, 2026
@chrisdavidmills
chrisdavidmills requested a review from Elchi3 August 28, 2026 12:19
@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Comment thread css/properties/zoom.json Outdated
}
}
},
"zoom_animatable": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In #30339 @ddbeck named this "is_transitionable" for consistency reasons. Should we do the same here?

Suggested change
"zoom_animatable": {
"is_transitionable": {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think of is_animatable? This refers to animation via keyframe animations and transitions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true for the others as well.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We talked about this on the BCD call today. Here's where we came down on it:

It's probably right that developers would benefit from a greater emphasis on animatable. Ideally, all of the *animatable* and *transitionable* keys in BCD would use a common ID (probably is_animatable) and description pattern (e.g., Animatable and transitionable (when…)). In cases where transitions and keyframe animations have differing support (there's one example in BCD), we would set partial_implementation. A guideline would cover this and all the applicable existing keys would follow the guideline (there's less than a dozen of these keys).

But that's not the case right now. So @chrisdavidmills, if you're willing to take that on that little project (I'd expect it to be a single PR and I'd commit to reviewing it), then you can have is_animatable here in this PR. Otherwise, I suggest using the more conventional is_transitionable and this will get changed when someone takes up this work (I can file an issue for it).

@chrisdavidmills chrisdavidmills Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks, @ddbeck. I've made the two updates that have come out of this discussion:

  • zoom_animatable -> is_animatable
  • "Animatable zoom" -> @keyframe animatable and transitionable (I swapped the order so it is alphabetical)

And with that, I will open a new PR to change the other instances to suit. Expect it soon.

Comment thread css/properties/zoom.json Outdated
}
}
},
"zoom_animatable": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We talked about this on the BCD call today. Here's where we came down on it:

It's probably right that developers would benefit from a greater emphasis on animatable. Ideally, all of the *animatable* and *transitionable* keys in BCD would use a common ID (probably is_animatable) and description pattern (e.g., Animatable and transitionable (when…)). In cases where transitions and keyframe animations have differing support (there's one example in BCD), we would set partial_implementation. A guideline would cover this and all the applicable existing keys would follow the guideline (there's less than a dozen of these keys).

But that's not the case right now. So @chrisdavidmills, if you're willing to take that on that little project (I'd expect it to be a single PR and I'd commit to reviewing it), then you can have is_animatable here in this PR. Otherwise, I suggest using the more conventional is_transitionable and this will get changed when someone takes up this work (I can file an issue for it).

Comment thread css/properties/zoom.json Outdated
},
"zoom_animatable": {
"__compat": {
"description": "Animatable `zoom`",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with other entries (though see my longer comment):

Suggested change
"description": "Animatable `zoom`",
"description": "Transitionable and animatable",

@ddbeck ddbeck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this and it's likely to survive whatever guideline comes out of #30417.

@chrisdavidmills
chrisdavidmills merged commit 305b4d6 into mdn:main Sep 10, 2026
10 checks passed
@chrisdavidmills

Copy link
Copy Markdown
Contributor Author

I'm happy with this and it's likely to survive whatever guideline comes out of #30417.

Cool, thanks, @ddbeck.

@mdn-bot mdn-bot mentioned this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants