[LayoutNG] Fix ink overflow for webkit-mask-image
Fix assumption in NGPaintFragment::InkOverflow where it would return the self ink overflow, rather than the content overflow, if there is a mask. This is incorrect for line boxes as those only have content ink overflow causing foreground painting to be skipped, due to the culled rect logic. Bug: 967567 Test: web_tests/fast/css/webkit-mask-image-painting.html Change-Id: I5f52d6752fbeae1b25a0397dc4bcff5d8a8de281 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1633314 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by:Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#664472}
Showing
Please register or sign in to comment