DescriptionProperly avoid breaking inside a float's top margin.
We used to depend on stumbling upon unbreakable content (such as lines) at
column boundaries for this to work, but we failed in the really simple cases
(where there was no content at all, for instance).
Move the logic for this to float-specific code, so that we don't have to be
aware of it at several other locations in the code.
Doing this correctly during layout also helps the balancer find the right
column height. Added a test for something that used to fail in this area.
Committed: https://crrev.com/c8e6a3cc38e6ca93572e9390d1910b81816e089a
Cr-Commit-Position: refs/heads/master@{#429641}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|