[Webkit-unassigned] [Bug 233263] New: When all elements in flexbox main axis are flexed, there should be no overflow in that axis.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 10:46:48 PST 2021


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

            Bug ID: 233263
           Summary: When all elements in flexbox main axis are flexed,
                    there should be no overflow in that axis.
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nige.animal at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 444536

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

Bug page

Ensure scrollbars are visible if you use OSX.

Using the attached HTML file, you can adjust the height of the '.container' element in 0.01px increments using the slider.

At just a few particular heights, a vertical scrollbar appears.

Given that all the elements in the vertical flexbox are flex-grow:1 and flex-basis:0%, and do not violate any minHeight constraints, there should be no overflow.

Regardless of the maths involved and remainders after calculation of the child heights, requesting that all children are flexed, and no height constraints implicitly specifies that there should be no vertical overflow.

I have currently found height 600.47, but there are many other "breakpoints" where it creates overflow.

-- 
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/20211117/3c9ebbbe/attachment-0001.htm>


More information about the webkit-unassigned mailing list