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

[csswg-drafts] [css-sizing-4] aspect-ratio and <picture> (#5212)

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

== [css-sizing-4] aspect-ratio and <picture> ==
https://drafts.csswg.org/css-sizing-4/#aspect-ratio

How should aspect-ratio interact with `<picture>`?

A straightforward application of the spec would have it just use the aspect-ratio on the inner `<img>`. But it may be useful to specify different aspect-ratios for the different `<source>`s, so maybe aspect-ratio should "inherit" from the active source to the `<img>`?

cc @fantasai @tabatkins 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5212 using your GitHub account
Received on Monday, 15 June 2020 23:15:11 UTC

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