[LayoutNG] Introduce NGPhysicalLineBoxFragment::First/LastLogicalLeaf()
This patch introduces the two helper functions as a preparation for crrev.com/c/882292, where we need to check if an inline fragment is the logically first/last leaf in its line to resolve caret position around line wrap. Bug: 771398 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I905ddc8923417da7178f8962db9c01e6fdf24754 Reviewed-on: https://chromium-review.googlesource.com/884381Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#531703}
Showing
Please register or sign in to comment