[FragmentItem] Fix NGInkOverflow not to include empty rects
Legacy and NGPaintFragment ignores empty rects (i.e., width and height are zero) even when their offsets are outside of the frame rects. This patch changes |NGInkOverflow| to match the behavior. Note, the behavior of `backdrop-filter` using the visual rect for inline boxes look questionable and weird, probably needs a separate fix, but it helped to find the change of the ink overflow in r784976 <crrev.com/c/2269389>. Filed crbug.com/1123089 for the `backdrop-filter` issue. The 3 rebaselines for paint/invalidation were incorrectly rebaselined by r789685 crrev.com/c/2300667 due to this issue. Bug: 1122021 Change-Id: Ida5fc770963efedd219eecf602c2f33dfec51b73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379444 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#802760}
Showing
Please register or sign in to comment