[csswg-drafts] [css-grid] Resolving percentages

FremyCompany has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] Resolving percentages ==
When a grid item 
- is found inside a container whose track is `mimax(min-content, 1fr)` or `1fr`
- has `height:100%`

How do you compute the `min-content` height of the track?
- Usually in CSS we ignored `height:100%` as `height:auto`
- However sometimes we resolve to `height:0` during that phase
 (for instance see table cells having `overflow:scroll`)

> https://wptest.center/#/gawww8 *(replaced element)*
> https://wptest.center/#/v298y2 *(in wrapper)*
> https://wptest.center/#/18osz0 *(in wrapper with overflow)*

Currently:
- Edge does `auto` `auto` `auto`
- Chrome/Firefox do `0` `auto` `auto`
- My feeling is we should all do `auto` `auto` `0`

Is some behavior defined in the spec? Is it the behavior we want?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2674 using your GitHub account

Received on Friday, 11 May 2018 23:00:27 UTC