W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

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

From: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jun 2020 18:09:40 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-641451355-1592503779-sysbot+gh@w3.org>
cbiesinger has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-4] should contain-intrinsic-size affect the aspect ratio of a replaced element? ==
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 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5241 using your GitHub account
Received on Thursday, 18 June 2020 18:09:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC