[Webkit-unassigned] [Bug 203565] New: grid cells in a flex column expands (while grid doesn't which is correct) while it shouldn't (flex: 0 1 auto)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 09:08:24 PDT 2019


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

            Bug ID: 203565
           Summary: grid cells in a flex column expands (while grid
                    doesn't which is correct) while it shouldn't (flex: 0
                    1 auto)
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: olivier.lahaye1 at free.fr
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 382184

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

Testcase: single file with html+css (same as link in bug description)

When a grid with property "flex: 0 1 auto" is in a flex object with height: 100%, the grid children will expand while they shouldn't if browser window heigh becomes bigger than needed. The grid dimension will grow up to its optimal size (which is correct). This leads to cells becoming hidden at bottom.

Testcase: http://olivier.lahaye1.free.fr/SystemImager/log_table3.html (includes HTML and css so you can easily download it)
This test case works perfectly on Microsoft EDGE 41.16299.1004.0 on Windows 10 build 1809 and Chrome 77.0.3865.120 for MacOS-10.14.16

Just try to resize the browser window big enough so all table lines are displayed. if you increase browser window height , there are rendering problems in Safari (cells are stretched in height (while they shouldn't) while gris sise stays at its optimal size (correct).

-- 
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/20191029/7825e3de/attachment.htm>


More information about the webkit-unassigned mailing list