[LayoutNG] Fix coordinate space of NG LocalCaretRect() in vertical-rl
LocalCaretRect should use the "flipped blocks" coordinate space for vertical-rl writing mode. This patch applies that in the NG implementation. Note: this patch only changes behavior for text-anchored carets. When caret is anchored to atomic inline, there is no reference as the legacy behavior is broken, and LocalCaretRect is consumed by legacy. Bug: 822575 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I4019f560f8410ef14c7d52312d7fc1de8db6ee28 Reviewed-on: https://chromium-review.googlesource.com/1011296Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#551528}
Showing
Please register or sign in to comment