W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2018

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

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 May 2018 23:00:24 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-322457156-1526079623-sysbot+gh@w3.org>
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)*

- 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:30 UTC