Skip to content

[css-sizing-4] should contain-intrinsic-size affect the aspect ratio of a replaced element? #5241

@cbiesinger

Description

@cbiesinger

https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override

If this property is specified on a replaced element, should that change the aspect-ratio of that element? E.g. should img { contain: size; contain-intrinsic-size: 100px 200px; } imply aspect-ratio: 100/200;?

(And if yes, should that only for replaced elements that have an intrinsic aspect-ratio or also for others, e.g. iframe?)

ref https://crbug.com/1091331

cc @fantasai

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as RetractedWhen the person who raised the issue thinks that there's no issue after all.css-sizing-4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions