[css-sizing] Should aspect-ratio: <ratio>
obey box-sizing
on replaced elements with auto preferred sizes?
#11093
Labels
aspect-ratio: <ratio>
obey box-sizing
on replaced elements with auto preferred sizes?
#11093
So my understanding from #4951 and https://drafts.csswg.org/css-sizing-4/#valdef-aspect-ratio-ratio is that these tests are wrong:
http://wpt.live/css/css-sizing/aspect-ratio/replaced-element-013.html
http://wpt.live/css/css-sizing/aspect-ratio/replaced-element-014.html
Since
aspect-ratio
doesn't haveauto
, then it should obeybox-sizing
.But of course the tests are part of interop-2021 and all browsers are passing them.
I'm not sure if there has been some amendment to align with browsers.
The text was updated successfully, but these errors were encountered: