Forum Bugs

Background color height on fixed height element spanning pages

joelmeador
Attached are two input files. In the first, there is a div with a height 684pt and the other having a div of height 685pt. This seems to be the break point of the page length in our environment, but the red background color in the second output file goes all the way the full height of the page, which I would not expect. My expectation is that I would get a tiny bar of red in the second page.
  1. overflow.html0.9 kB
  2. overflow.pdf14.3 kB
  3. overflow2.html0.9 kB
  4. overflow2.pdf14.3 kB
mikeday
Currently fixed heights aren't consumed across page breaks in the way you might expect.
joelmeador
Yes, that is the issue. What is the algorithm for use when splitting these things?
joelmeador
Bump I guess. And I think I can assume this will not be changing any time in the future?
mikeday
This is something that we're looking at, but fragmentation of fixed height blocks (or blocks with a specified min/max height) is a fairly complex issue. Do you know the use case for this particular situation?
joelmeador
IIRC, In this case it was a sidebar that other content was meant to flow around once the end of the sidebar was reached.