Remove special-code for paginating floats followed by lines of text.
If a float is pushed to the next fragmentainer, we used to push any lines
established by consecutive sibling content along with it, even if they would
fit in the previous fragmentainer. As a contrast to this, we did not do the
same to consecutive blocks - only to lines!
What blocks do makes the most sense [1]. Do the same for lines.
[1] Discussed here:
https://lists.w3.org/Archives/Public/www-style/2015Sep/0002.html
Added two new tests. The one that has a block with text following a float also
worked before this CL, but I added it to demonstrate how ridiculous it is to
behave differently here, simply depending on whether it's a line or a block.
Some existing tests needed an update, because they depended on the previous
behavior.
Committed:
https://crrev.com/046282e7297e25453ff3a589675dc618a5cc4a90
Cr-Commit-Position: refs/heads/master@{#388701}