Fix outline when linebox has non-zero inline offset
When computing outline rects in an inline formatting context, the coordinate system needs to be relative to the root of the inline formatting context, because the algorithm needs to call |LayoutObject| functions, which uses the coordinate system for inline |LayoutObject|s. This patch fixes not to accumulate line box offset. For the inline direction, this is usually zero and is not visible, but non-zero `padding-left` can expose this difference. Bug: 1048070 Change-Id: I30dfabcca621136b6d78892a1856c1336c7438eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2038296Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:
Aleks Totic <atotic@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#738646}
Showing
Please register or sign in to comment