min_height & max_height not working

440 views
Skip to first unread message

John Bell

unread,
Apr 24, 2012, 4:21:59 AM4/24/12
to dom...@googlegroups.com
min_height & max_height don't seem to be working.

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

John Bell

unread,
Apr 24, 2012, 7:44:43 AM4/24/12
to dom...@googlegroups.com
I found a good reference here :
http://reference.sitepoint.com/css/max-height

I'll work on a patch

John

Fabien Ménager

unread,
Apr 24, 2012, 11:34:27 AM4/24/12
to dom...@googlegroups.com
Hello, thank you for your time on this issue. 
Can you open an issue in the issue tracker so that we can keep track of your work ?
Reply all
Reply to author
Forward
0 new messages