-
Xianzhu Wang authored
Previously when painting outlines we used LayoutObject::AddOutlineRects() which adds outline rects in flipped blocks direction. The previous flipping code in ObjectPainter::PaintOutline() was incomplete, and we also missed the flipping in other places. Add LayoutObject::PhysicalOutlineRects() which flips the outline rects correctly. Remove internals.outlineRects and internals.focusRingRects and convert the layout tests using them into unit tests. Bug: 910643 Change-Id: Ib8b3e0c7cd646e60378c09955ba26334f0f7f9e9 Reviewed-on: https://chromium-review.googlesource.com/c/1352503Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#612786}
7fab23cf