Skip to content

[css-values-5] Interpolating calc-size() more generally #10294

@tabatkins

Description

@tabatkins

Per the recent resolution, we've confirmed that, by default, you only get the calc-size() interpolation behavior if at least one side has calc-size() - that is, interpolating from 0 to auto continues to not work; you have to either calc-size(0) or calc-size(auto) (or both).

It was requested in the meeting that there be a way to opt into calc-size() interpolation without having to modify the start/end values, similar to how discretely-animatable values don't transition by default, but can be opted into via transition-behavior.

The most obvious solution is to just use transition-behavior, with a new value that indicates we should use the more powerful size interpolation. I think @flackr has an objection to that, tho.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Thursday morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions