[LayoutNG] Paint RTL text selection.
Since this patch, we use ShapeResult.Direction() to get appropriate CharacterRange to paint RTL text such as: <div id="d1">אבג</div> <script> getSelection().setBaseAndExtent(d1.firstChild, 0, d1.firstChild, 1); </script> Bug: 708452 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Id858f508c41b7231e73b25ef11933f88b2b2993e Reviewed-on: https://chromium-review.googlesource.com/821797 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#524009}
Showing
Please register or sign in to comment