12013-01-09 Robert Hogan <robert@webkit.org>
2
3 Available height should respect min and max height
4 https://bugs.webkit.org/show_bug.cgi?id=106479
5
6 Reviewed by NOBODY (OOPS!).
7
8 When calculating a relative positioned block's offset as a percentage of its container, respect the min
9 and max height set on the container
10
11 Tests: fast/block/percent-top-respects-max-height.html
12 fast/block/percent-top-respects-min-height.html
13
14 * rendering/RenderBox.cpp:
15 (WebCore::RenderBox::availableLogicalHeight):
16