[LayoutNG] Fix hit test local point in text fragments
This patch fixes the local point when hit test ends up in text fragments: When HitTestResult's inner node is a text node, the local point should be local to the container block flow, not the text fragment being hit-tested. We current have the latter, which is fixed in this patch. Bug: 811502 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_layout_ng;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I3104c126b5ee3968f25dffa15042a45a051be160 Reviewed-on: https://chromium-review.googlesource.com/915041Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#538829}
Showing
Please register or sign in to comment