W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2020

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Dec 2020 19:14:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-741989241-1607541293-sysbot+gh@w3.org>
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:

<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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:23 UTC