Skip to content

[css-properties-values-api-1] Allow customizing property animation interpolation curve #5920

Open
@flackr

Description

@flackr

In #4953 we decided that ratios should be interpolated using a log curve to avoid asymmetric acceleration as the aspect ratio division result approaches 0 (i.e. make aspect ratio interpolation visually appear linear regardless of whether interpolating to/from a narrow or wide aspect ratio). In the blink intent thread it was brought up that having a one-off different interpolation curve for aspect-ratio seemed strange and that we should consider allowing customization of this.

Defining the implicit interpolation curve for a new property might be a good fit as part of a PropertyDefinition to allow developers to define other properties where the default linear interpolation curve doesn't make sense.

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