Skip to content
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

[css-flexbox-1] be clearer about aspect ratio without definite cross size case #6109

Closed
fantasai opened this issue Mar 17, 2021 · 0 comments
Closed
Labels
Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-flexbox-1 Current Work Needs Testcase (WPT)

Comments

@fantasai
Copy link
Collaborator

Technically, <img style="min-width: 0; max-height: 10px;" src="100x100-green.png"> would fall under case E in https://drafts.csswg.org/css-flexbox/#algo-main-item and, hooking into CSS2 section 10, would result in a 10px flex base size. But this isn't super clear, so we might want to make it more clear; maybe by adding aspect ratio as an example in the parenthetical about cases that depend on cross size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-flexbox-1 Current Work Needs Testcase (WPT)
Projects
None yet
Development

No branches or pull requests

1 participant