[LayoutNG] Handle inline continuations in PositionForPoint()
When calling PositionForPoint() on an inline element with continuation, we need to find the correct block flow to enter. Legacy has such handling, but NG currently doesn't. As NG currently doesn't build its own tree, which means continuation info is only available in legacy layout tree, this patch makes NG PositionForPoint() reuse the legacy handling code to find the correct block flow. Bug: 811502 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I7155d09cc4f820580b2f72d316fabc345dd4d848 Reviewed-on: https://chromium-review.googlesource.com/1087826 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#565111}
Showing
Please register or sign in to comment