[LayoutNG] Add IsInlineBox and IsInline to NGPhysicalFragment
This patch adds IsInlineBox() and IsInline() to NGPhysicalFragment as we need claer distinction of inline boxes in NGPaint. Also anonymous fragment was removed. This fragment type was used to create an anonymous fragment for inline children, where two fragments are generated for one LayoutBlockFlow. This was changed to create line boxes directly under the parent box fragment in line-by-line refactoring by ikilpatrick@. One crash was upgraded to failure because the logic to determine anonymous fragment was wrong when ::first-line was used, and now it is gone. Bug: 636993, 714962 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Iac918830f1696789008376e77d36557e373236f8 Reviewed-on: https://chromium-review.googlesource.com/890878Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#532531}
Showing
Please register or sign in to comment