In block_frame_reflower, there is an if block:
if ( !($style->overflow === "visible" ||
($style->overflow === "hidden" && $height === "auto")) ) {
Commenting this out fixes the issue, but may not be suitable for all
cases. If there is a conflict between height, max height & overflow:
visible, what should be the order of precedence? Clearly in a pdf, you
cannot have scrollbars :)
ref: http://www.w3.org/TR/CSS2/visudet.html#propdef-min-height
I'm happy to work on a patch if a ruleset can be agreed.
John
I'll work on a patch
John