Skip to content

[css-sizing-4] Should contain-intrinsic-size be used for min-height: auto? #5537

Closed
@cbiesinger

Description

@cbiesinger

https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum

For a testcase like the the ones at https://dvoytenko.github.io/aspect-ratio-css/#x-intrinsic-and-float (make the window width smaller; should there be pink visible?), if the aspect-ratio calculated height of the box shrinks below the size from contain-intrinsic-size, should min-height: auto keep the height of the box at 300px (from contain-intrinsic-size)?

On the one hand, that's probably the straightforward interpretation of the intrinsic size; on the other hand, the content is not "real", should min-height: auto take it into account?

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