[Webkit-unassigned] [Bug 220946] New: [css-flexbox] REGRESSION(r266695): content inside a `<button>` inside a flex container has a height of `0` without a declared `min-height`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 25 13:59:25 PST 2021


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

            Bug ID: 220946
           Summary: [css-flexbox] REGRESSION(r266695): content inside a
                    `<button>` inside a flex container has a height of `0`
                    without a declared `min-height`
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
        Depends on: 210089

Created attachment 418333

  --> https://bugs.webkit.org/attachment.cgi?id=418333&action=review

[HTML] reduction

Inspecting the attached `reduction.html`, the Computed details sidebar panel shows a height of `0` for the child of the `<button>`.  After adding `min-height: 0;` to the parent of the `<button>` (which is the child of the `display: flex;`), however, the height then shows `50%` (`100px`) and the `background-color: red;` becomes visible.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=210089
[Bug 210089] [css-flexbox] min-height: auto not applied to nested flexboxes.
-- 
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/20210125/b46e4025/attachment.htm>


More information about the webkit-unassigned mailing list