[LayoutNG] Fix caret position resolution when dealing with floats
The current caret position resolution algorithm assumes that all descendants of an inline formatting context fragments are inline, and hence contained in a line box. This is not the case with floats and out-of-flow positioned fragments. This patch makes the algorithm handle them correctly. Bug: 808914 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: If238323a9b9694fb4a9d1668254a89eea8d6756e Reviewed-on: https://chromium-review.googlesource.com/902685Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Yoichi Osato <yoichio@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#534629}
Showing
Please register or sign in to comment