[css-sizing] How to transfer intrinsic keywords via aspect ratio? · Issue #11236 · w3c/csswg-drafts (original) (raw)
Are these canvases supposed to have different heights? How/why?
Blink, Servo | WebKit | Gecko |
---|---|---|
![]() |
![]() |
![]() |
For Servo it would be simpler to treat width: auto
as fit-content
and make them all 20x20.
But having an exception to avoid transferring an auto
preferred inline size isn't a big deal.
I don't understand what Gecko is doing. Is it trying to be consistent with table-layout
, which handles auto
and max-content
different than the others?
Webkit seems to transfer the natural block size when the preferred block size is intrinsic but not auto
. Seems a bit weird since typically the inline intrinsic sizes only depend on extrinsic block sizes, not intrinsic block sizes.