top: 0; bottom: 0;
? · Issue #5151 · w3c/csswg-drafts (original) (raw)
[css-sizing-4] Should aspect-ratio be used for abspos
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes
https://drafts.csswg.org/css-sizing-4/#aspect-ratio
In this code:
Should the width be computed using the aspect-ratio, since top and bottom establish a size that could be used?
Note that the first link says not to:
For boxes with an intrinsic aspect ratio, but no intrinsic size:
If the available space is definite in the inline axis, use the stretch fit into that size for the inline size and calculate the block size using the aspect ratio.