Re: [csswg-drafts] [css-grid][css-flexbox][quirks] Avoid percentage height quirk in new layout models (#5545)

Isn't it simpler to replace "if element is a not a block container" with "if element is a not a block box nor an inline-block"?
This excludes flex-level and grid-level block containers.

BTW, not sure if a table caption is considered to be a block box or a table-level block container:

```html
<div style="display: table; height:100px">
  <div style="display: table-caption">
    <div style="height: 100%; background: cyan">foobar
```
the inner `<div>` is 100px tall in Chromium and WebKit, but as tall as the text in Firefox.


-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5545#issuecomment-741989241 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 December 2020 19:14:56 UTC