Description[New Multicolumn] balancer confused by content with top margins.
We need to set zero page logical height in LayoutState when column
height is unknown (when the columns haven't yet been
balanced). There's code that assumes that non-zero page height means
that page height is known. Lying about this makes the pagination code
believe that every top margin is adjacent to a column break, which
makes it eat and ignore all top margins.
This should be cleaned up, but it's easier to wait until the old
multicol code has been removed.
BUG=353587
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170335
Patch Set 1 #
Total comments: 2
Patch Set 2 : Code review. Add test that would fail without these changes. #
Total comments: 1
Patch Set 3 : Rebase master #Patch Set 4 : Address review issues raised together with lgtm #Patch Set 5 : Fix test failures in debug mode. #Messages
Total messages: 21 (0 generated)
|