8000 [css-sizing-4] Add example for how %-block-size percentages resolve for min/max size calculation. · Issue #4639 · w3c/csswg-drafts · GitHub
Skip to content

[css-sizing-4] Add example for how %-block-size percentages resolve for min/max size calculation. #4639

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

Open
bfgeek opened this issue Dec 30, 2019 · 1 comment

Comments

@bfgeek
Copy link

bfgeek commented Dec 30, 2019

E.g.

<div id=container style="height: 100px; float: left;">
  <div style="height: 100%; aspect-ratio: 1/1;"></div>
</div>

The width of "container" should be 100px(?). Adding an example would be helpful.

@fantasai
Copy link
Collaborator

@bfgeek We added an example! Let us know if it looks OK!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants