mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Automatic update from web-platform-tests multicol: Ensure that clipped out elements don't get painted. This patch keep track of whether the logical bounding box of an object was empty in fragmentainer iterator. If it was, then it is likely to be placed in the first column (since typically empty rects are 0,0 0x0). The first column doesn't have the top edge clip so we might end up painting contents outside of the container (see testcase). By using the portion rect, we ensure that the fragment clip we put in place is bounded on all sides. [email protected], [email protected] Bug: 1017599 Change-Id: I436802f7410124ab2251bfff13ce7dcff49b335b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879564 Commit-Queue: vmpstr <[email protected]> Reviewed-by: Xianzhu Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#709509} -- wpt-commits: 9ceef5af8b581b9e02f11b0a877b7dc0c8edafe6 wpt-pr: 19872 Differential Revision: https://phabricator.services.mozilla.com/D53483