[LayoutNG] Make box fragment generation consistent
This patch fixes the logic whether to generate box fragments for an inline box or not consistent across wrapped lines. Not all inline boxes need to have corresponding box fragments. NGInlineLayoutAlgorithm determines this and avoid creating them when not necessary. NGInlineLayoutAlgorithm used to determine it for each wrapped line, but this made traversing fragments harder. With this change, if traversal finds a box fragment for a LayoutInline, it knows that it can find all other fragments too. wpt/css/CSS2/normal-flow/block-in-inline-empty-00[14] no longer pass with this change. These tests don't pass in Blink/WebKit, and that the fix priority is not high at this moment. Bug: 636993 Change-Id: I58b0f3c5fd95ee743a5ab404c8e8a4b284909616 Reviewed-on: https://chromium-review.googlesource.com/895231 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#534079}
Showing
Please register or sign in to comment