Description[LayoutNG] More precise checks for empty inline and add test
Whether an empty inline should create a box or not affects several
things, such as:
* If nothing else on the line, it affects whether to create a line box
or not, which has a height of strut.
* A line box prevents margins before and after to collapse.
While the condition is not clearly defined, all 4 browsers pass the
tests in this CL.
BUG=636993
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Review-Url: https://codereview.chromium.org/2931363002
Cr-Commit-Position: refs/heads/master@{#481114}
Committed: https://chromium.googlesource.com/chromium/src/+/9c70225b2a1ab3982b2c6345cc46f2d96bad025b
Patch Set 1 #Patch Set 2 : WIP #Patch Set 3 : WIP #Patch Set 4 : WIP #Patch Set 5 : WIP #Patch Set 6 : Cleanup #Patch Set 7 : Reverted the loop #Patch Set 8 : Cleanup #Patch Set 9 : Rebase #Patch Set 10 : Abstracted available_width_ #
Total comments: 4
Patch Set 11 : ikilpatrick review #Dependent Patchsets: Messages
Total messages: 37 (28 generated)
|