[LayoutNG] Introduce NGPhysicalFragment::ResolvedDirection()
This patch introduces NGPhysicalFragment::ResolvedDirection() for text and atomic inline fragments to obtain the resolved direction in bidi inline layout (which can be different from CSS 'direction' property). This patch is split from crrev.com/c/1038058 and has LGTM there. It is a preparation for the following patches: - crrev.com/c/1038058: bidi adjustment for caret position computation - crrev.com/c/1056395: fix caret rect on atomic inlines in bidi text - crrev.com/c/1056029: fix hit testing on atomic inlines in bidi text Bug: 811502, 822575 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I1e5fa1817ff987264181547d05e10774ff286fe5 Reviewed-on: https://chromium-review.googlesource.com/1058085Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#558545}
Showing
Please register or sign in to comment