You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-flexbox] Should clarify if aspect ratio calculations use border-box or content-box #5246
@cbiesinger I think at some point when the aspect ratio spec and related terminology is more stable, we'll end up adding a lot of cross-links across all our layout specs, but at this point if I add a note pointing to sizing-4 here, I have to add one everywhere else in the spec that mentions “aspect ratio” and I think that's too many notes... If you're implementing aspect-ratio, the spec for aspect-ratio is pretty explicit about which box to use.
Activity
cbiesinger commentedon Jun 19, 2020
(however, the inner is probably correct for replaced elements with an intrinsic aspect ratio, which probably (?) shouldn't use box-sizing)
cc @fantasai
[css-flexbox-1] Remove explicit mention of 'inner' size from aspect-r…
fantasai commentedon Aug 4, 2020
@cbiesinger Checked in edits to remove the explicit mention of "inner". Do you think this is acceptable to close now?
cbiesinger commentedon Aug 27, 2020
Thanks, that helps. I think it would be nice if there was a link to someplace that explicitly defines which box-sizing to use though.
fantasai commentedon Oct 6, 2020
@cbiesinger I think at some point when the aspect ratio spec and related terminology is more stable, we'll end up adding a lot of cross-links across all our layout specs, but at this point if I add a note pointing to sizing-4 here, I have to add one everywhere else in the spec that mentions “aspect ratio” and I think that's too many notes... If you're implementing
aspect-ratio, the spec foraspect-ratiois pretty explicit about which box to use.