[LayoutNG] Correct border painting for block fragmentation.
Add a few new tests, as coverage seemed low. Fix PhysicalBoxSides writing-mode converter to handle vertical-lr, and skip sideways-lr and sideways-rl, since those aren't even supported by the CSS parser. Update BackgroundRoundedRectAdjustedForBleedAvoidance() to skip the borders that aren't part of the fragment. I suppose inline fragmentation wasn't using this code path, but block fragmentation uses it. Bug: 829028 Change-Id: I7e3f78a4fde54c7da1442efdabe609651cd27d10 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362902Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Reviewed-by:
Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#800047}
Showing
Please register or sign in to comment