Skip to content

[css-grid-2] Animation / interpolate grid-auto-columns and grid-auto-rows #9440

Closed
@flackr

Description

@flackr

In #3201 there were specific animation type rules added for grid-template-columns and grid-template-rows. In https://crbug.com/1365967 @bramus raised a use case where it would be nice to interpolate grid-auto-columns and grid-auto-rows.

It doesn't look like any browser supports this today, based on my simple demo but I don't see why we shouldn't support interpolating the auto properties as well. Given the syntax is only <track-size>+ I think the animation type may need to be:

  Animation type: if the list lengths match, by computed value type per item; discrete otherwise

Unless per item animation is already implied by the animation type of a list of track sizes?

@fantasai

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions