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

height: 100% changes a calculation based on sibling's intrinsic vs. explicit height #45

Open
matthew-dean opened this issue Jun 6, 2018 · 0 comments

Comments

@matthew-dean
Copy link

I couldn't tell if this was related to other bugs, although I think there are similar % calculations that may be related.

Basically, I discovered that, within a grid, a "cell's" child's height calculation for 100% changes if other content within that cell has its height set explicitly vs. intrinsically. In other words, the grid item is the exact same visible height, but if content has an explicit height, then sibling element's 100% calculation will act differently vs. the content having an intrinsic height of the same value.

Codepen: https://codepen.io/matthewdean/pen/LrZxjX
Bug filed: https://bugs.chromium.org/p/chromium/issues/detail?id=849945

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

No branches or pull requests

1 participant