DescriptionConsistent pagination strut propagation policies.
There's no break opportunity between a spanner and the next block in a column.
Also no break opportunity between a float and an in-flow block. The spec is a
bit vague here, but our implementation certainly doesn't support it.
We have to prevent strut propagation in such cases. If the first piece of
content inside the block (e.g. a line) doesn't fit inside the current
fragmentainer, it's the line that needs to be pushed, not the block.
One of the tests included here used to cause a DCHECK failure.
Review-Url: https://codereview.chromium.org/2746013010
Cr-Commit-Position: refs/heads/master@{#457888}
Committed: https://chromium.googlesource.com/chromium/src/+/d79ffe1a26f9a6f9572cff9c2e5f12a119032c64
Patch Set 1 #Messages
Total messages: 18 (12 generated)
|