[csswg-drafts] [css-sizing-4] Aspect ratio supplying the missing intrinsic size axis is weird (#5563)

cbiesinger has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-4] Aspect ratio supplying the missing intrinsic size axis is weird ==
https://drafts.csswg.org/css-sizing-4/#aspect-ratio

> If a replaced element’s only intrinsic dimension is an intrinsic width or an intrinsic height, giving it a preferred aspect ratio also gives it an intrinsic height or width, whichever was missing, by transferring the existing size through the preferred aspect ratio.

This is different from how an intrinsic aspect ratio behaves. For example, `<svg viewBox="0 0 1 1" width="100" />` will not have an intrinsic height, but `<img src='data:image/svg,<svg viewBox="0 0 1 1" width="100" />' style='aspect-ratio: 1/1'>` will have an intrinsic height per the spec. This seems weird?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5563 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 September 2020 09:02:27 UTC