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-grid] Sizing Grid Containers fails on floats #1734

Closed
fantasai opened this Issue Aug 17, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@fantasai
Contributor

fantasai commented Aug 17, 2017

The spec says

A grid container is sized using the rules of the formatting context in which it participates:

  • As a block-level box in a block formatting context, it is sized like a block box that establishes a formatting context, with an auto inline size calculated as for in-flow block boxes.

This is fine for in-flow block boxes, but for floated boxes (or abspos) the grid container should shrinkwrap. I think perhaps it meant "non-replaced block boxes" here.

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