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. R=pdr@chromium.org, wangxianzhu@chromium.org Bug: 1017599 Change-Id: I436802f7410124ab2251bfff13ce7dcff49b335b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879564 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#709509}
Showing
Please register or sign in to comment