[LayoutNG] Handle upstream-after-line-break input in caret resolution
When the input is upstream after a line break, LayoutNG caret resolution algorithm should resolve at the downstream position instead. This patch does that and fixes 4 crashes when bidi caret affinity is enabled. Bug: 894651 Change-Id: I178f1c0b209b907bd6ccad88b3e82d2df60f2907 Reviewed-on: https://chromium-review.googlesource.com/c/1404565 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Yoichi Osato <yoichio@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#621990}
Showing
Please register or sign in to comment