[Webkit-unassigned] [Bug 220075] New: Layout overflow is computed incorrectly inside flexbox (breaks sticky positioning)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 21 15:42:07 PST 2020


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

            Bug ID: 220075
           Summary: Layout overflow is computed incorrectly inside flexbox
                    (breaks sticky positioning)
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 416639

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

Testcase

In the attached testcase, the sticky element gets pushed out of view as you scroll down and should not.

In RenderBoxModelObject::computeStickyPositionConstraints(), containingBlock->layoutOverflowRect() returns a rect that is too short, but only when inside flex layout.

-- 
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/20201221/2756a862/attachment.htm>


More information about the webkit-unassigned mailing list