[Webkit-unassigned] [Bug 221481] [css-flexbox] Ignore specified block sizes when computing flex items' intrinsic block sizes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 1 07:37:19 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221481

--- Comment #3 from Sergio Villar Senin <svillar at igalia.com> ---
> imported/w3c/web-platform-tests/css/css-flexbox/flex-minimum-height-flex-items-026.html
> imported/w3c/web-platform-tests/css/css-flexbox/flex-minimum-height-flex-items-029.html
> imported/w3c/web-platform-tests/css/css-flexbox/flex-minimum-width-flex-items-015.html

All these 3 fail for the very same reason. Let's suppose the following scenario:

    <div style="display: flex; flex-direction: column">
      <div style="flex-basis: 100px; height: 200px">
        <div style="height: 100%">

When computing the flex item intrinsic block size we let the inner div's height resolve against the flex item's 200px, giving the flex item an automatic minimum size of 200px, even though the min-content size is supposed to be calculated with the item having an 'auto' size. We should ignore the item's 200px height instead.

Blink fixed it in NG in https://chromium-review.googlesource.com/c/chromium/src/+/2640774

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210301/ecc75091/attachment.htm>


More information about the webkit-unassigned mailing list