[css-flexbox] Clarify automatic min size's definition if both specified size and aspect ratio are not present · Issue #671 · w3c/csswg-drafts (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

shinglyu opened this issue

Nov 2, 2016

· 0 comments

Comments

@shinglyu

https://drafts.csswg.org/css-flexbox/#min-size-auto

In the section:

In general, the automatic minimum size is the smaller of its content size and its specified size. However, if the box has an aspect ratio and no specified size, its automatic minimum size is the smaller of its content size and its transferred size.

The case which no specified size and no aspect ratio is present is not clear. People might get confused and use the old default 0.

In the previous edition, it is clear that we should use content size in that case.

shinglyu added a commit to shinglyu/csswg-drafts that referenced this issue

Nov 8, 2016

@shinglyu

tabatkins pushed a commit that referenced this issue

Nov 22, 2016

@shinglyu @tabatkins

@fantasai fantasai added this to the Published css-flexbox-1 2017-10-19 milestone

Mar 29, 2018

2 participants

@fantasai @shinglyu