Re: [csswg-drafts] [css-sizing-4] Does aspect-ratio work on the content box or the border box? (#4007)

It's pretty clear that replaced elements need to apply their intrinsic aspect ratio to the content box; and also that for non-replaced elements, we frequently want to size the border box instead.

One possible way to do both is:
- for `aspect-ratio: auto` , which takes the aspect ratio from the intrinsic aspect ratio, we always use the content box
- for explicit aspect-ratio values, we ask `box-sizing`


-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4007#issuecomment-498925890 using your GitHub account

Received on Wednesday, 5 June 2019 03:32:30 UTC