[FragmentItem] Fix NGOutlineUtils::ShouldPaintOutline
This patch changes |NGOutlineUtils::ShouldPaintOutline| to support FragmentItem. This fix is needed to compute ink overflow (WIP crrev.com/c/1771360). This patch also discovered a bug in |NGInlineCursor| where |MoveTo(const LayoutObject&)| does not work if the root is not given, when FragmentItem is enabled. This patch adds a test for the case and fix this. This patch fixes ~260 tests and regresses ~80. The ~80 used to pass accidentally, revealing these failures is a progress. I will update FlagExpectations separately to avoid conflict as the change is large. Bug: 982194 Change-Id: Ia4cf6b15624c0ef73bb90c76a57ef326d19c5d26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890374Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#711227}
Showing
Please register or sign in to comment