DescriptionNeed to consider the need for a soft break even when inserting a forced break.
A forced break will just take us to the next fragmentainer. However, the next
fragmentainer may not be tall enough to fit any part of the block we're laying
out, which means that we may have to skip to a fragmentainer further ahead -
one that is tall enough. This situation may arise in nested multicol, because
then we may get inner fragmentainers of variable height.
Another reason why we need this is that a forced break on an object is inserted
before we apply clearance. After we have applied clearance, we may have ended
up at a position where there's not enough space left to fit any part of the
block we're laying out. So, again, we may need to skip to the next
fragmentainer.
BUG=647475
Committed: https://crrev.com/4545acb6ba2bd97d53d4641b90ee1d96fb53f98d
Cr-Commit-Position: refs/heads/master@{#420041}
Patch Set 1 #
Messages
Total messages: 13 (7 generated)
|