Forum Bugs

Page break caused by floated elements interrupts flow of non-floated elements

rsanchez
When a floated element doesn't fit at the end of the page, the flow of non-floated elements is interrupted as if they had a clear setting:

Source: flow-1.html‎
Prince result: flow-1.pdf‎

The positioning of floated elements should not interrupt the float of non-floated elements. The empty space at the bottom of the first page should be filled by paragraph 6 and following.

The effect is worse when the page break happens between floated elements:

Source: flow-2.html‎
Prince result: flow-2.pdf‎

Here, paragraph 4 should run on the left of figure 1, and so on.

Both Chrome and Firefox work as expected:

flow-1-chrome.pdf‎
flow-1-firefox.pdf‎

flow-2-chrome.pdf‎
flow-2-firefox.pdf‎

Is there any setting or workaround I'm missing?

Thanks!
  1. flow-1-chrome.pdf904.9 kB
  2. flow-1-firefox.pdf18.5 kB
  3. flow-1.html5.8 kB
  4. flow-1.pdf34.4 kB
  5. flow-2-chrome.pdf840.0 kB
  6. flow-2-firefox.pdf18.5 kB
  7. flow-2.html6.0 kB
  8. flow-2.pdf34.4 kB
mikeday
At the moment the only workaround for this is to use a page float instead, eg. "float: bottom".