Skip to content

[css-sizing-4] Should aspect-ratio apply for width: auto; height: auto;? #5060

Open
@cbiesinger

Description

@cbiesinger

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

With width: auto; height: auto; aspect-ratio: 1/1; (in a horizontal writing mode), we still have a definite width, should we use that to calculate a height using the aspect ratio? Or should we require width: 100%;?

/cc @bfgeek @fantasai @tabatkins

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