[Webkit-unassigned] [Bug 259674] New: unionRect(const Vector<LayoutRect>&) behaves incorrectly with empty rects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 31 20:45:05 PDT 2023


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

            Bug ID: 259674
           Summary: unionRect(const Vector<LayoutRect>&) behaves
                    incorrectly with empty rects
           Product: WebKit
           Version: WebKit Local Build
          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

unionRect(const Vector<LayoutRect>&) behaves incorrectly if the input vector contains a single zero-size rect with a non-zero location; it will union with the empty rect, and therefore return the empty rect.

-- 
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/20230801/1ab0e367/attachment.htm>


More information about the webkit-unassigned mailing list