[LayoutNG] Fix PreviousOnLineInlineNG
It returned nullptr for any objects laid out by LayoutNG. `AXPosition::AtStartOfLine()` relies on this, and that it fails to return the correct value in LayoutNG. This patch fixes following content_browsertests with LayoutNG: AccessibilityAuraLinuxBrowserTest.TestParagraphTextAtOffsetWithBoundaryLine AccessibilityWinBrowserTest.TestParagraphTextAtOffsetWithBoundaryLine Change-Id: I409682232a29f84cda7e2d547ffd6a264357b3d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1608867Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Alice Boxhall <aboxhall@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#659579}
Showing
Please register or sign in to comment