Skip to content

[css-sizing-4] Should aspect-ratio affect the intrinsic size? #5032

Closed
@cbiesinger

Description

@cbiesinger

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

If an aspect-ratio is used, should it also affect the intrinsic size of a box? That is, should:

<div style="height: 100px; width: fit-content; aspect-ratio: 1/1;"></div>

be 0px wide or 100px?

@bfgeek @tabatkins @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