Skip to content

[css-sizing] Aspect-ratio min-size needs to check for "auto", not non-zero #4217

Closed
@tabatkins

Description

@tabatkins

In https://drafts.csswg.org/css-sizing-3/#intrinsic:

Otherwise if the box has a definite non-zero min-width or min-height, use that size and calculate the other dimension using the aspect ratio; if both dimensions have a definite minimum, choose the one that results in the larger overall size.

This should probably be checking for non-"auto", not non-zero. (Open ranges are bad.)

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