[LayoutNG] Fix AddOutlineRects to include continuation when the first line is empty
This patch fixes AddOutlineRects to include continuation when the first line is empty. In such case, NGInlineLayoutAlgorithm suppresses box fragments, and thus we cannot reach to the continuation by traversing fragment tree. This patch detects such case and traverse the first LayoutInline instead. Bug: 889721 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I0e3bbd895501231b76775b074b35310037a3e113 Reviewed-on: https://chromium-review.googlesource.com/1252484Reviewed-by:Aleks Totic <atotic@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#595693}
Showing
Please register or sign in to comment