[PE] Let visual rect cover sub-pixel visual effect outsets
If an overflowing visual effect has sub-pixel geometry and is painted with anti-aliasing along pixel-snapped border box, the pixel-snapping may cause the anti-aliased edge overflow the calculated visual rect. Let LayoutBox::VisualRectOutsetForRasterEffects() return 1 if there are any sub-pixel visual effect outsets to ensure the visual rect covers all pixels. Bug: 827516 Change-Id: I48f8350fb2124d002333a4cc76486c63ca55f8c9 Reviewed-on: https://chromium-review.googlesource.com/1003492Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
Florin Malita <fmalita@chromium.org> Cr-Commit-Position: refs/heads/master@{#550014}
Showing
Please register or sign in to comment