[Webkit-unassigned] [Bug 237507] New: Empty float rects should remain empty after integrally enclosing them.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 6 16:04:22 PST 2022


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

            Bug ID: 237507
           Summary: Empty float rects should remain empty after integrally
                    enclosing them.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattwoodrow at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    webkit-bug-importer at group.apple.com, zalan at apple.com

enclosingIntRect(const FloatRect&) will take an empty rect with a fractional x and y value and expand it into an integer rect that's 1x1.

This can happen when computing coverage for TileGrid, and result in us allocating a tile, when we don't need it.

-- 
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/20220307/dbd9ca8b/attachment-0001.htm>


More information about the webkit-unassigned mailing list