DescriptionDon't call paginatedContentWasLaidOut() until we have the final layout.
Blocks may need relayout because of pagination, and calling
paginatedContentWasLaidOut() before that has taken place could make us account
for a leading pagination strut twice (once before the block child, and once
before the first line inside the block). In a nested multicol context this
could trigger creation of additional fragmentainer groups that will be
unneeded in the end.
This fixes the assertion mentioned in bug 594833, but new ones will pop up
instead, because of brokenness in the column balancer. That will be fixed in a
separate CL.
BUG=594833
Committed: https://crrev.com/9958b7d0b612a7b1bbea85f1c8f2825faa5cebb6
Cr-Commit-Position: refs/heads/master@{#387548}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|