-
Notifications
You must be signed in to change notification settings - Fork 715
[css-sizing] Should aspect-ratio: <ratio>
obey box-sizing
on replaced elements with auto preferred sizes?
#11093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So to be specific, https://drafts.csswg.org/css-sizing-4/#valdef-aspect-ratio-ratio says
The tests have the default Browsers are passing the tests for different reasons:
Agenda+ to ratify the spec or align with some browser. |
aspect-ratio: <ratio>
obey box-sizing
on replaced elements with auto preferred sizes?
So the tests claimed
Which is clearly not what the spec says. And Blink would fail these wrong tests after the fix for #11236, so they will be amended in web-platform-tests/wpt#51409 Then I think there isn't anything else to discuss here. |
The CSS Working Group just discussed The full IRC log of that discussion<TabAtkins> oriol: I closed this issue, I think it's done |
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: