Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index b7fd24d02e0217a579e07bedc5a1acd8192c9bc2..5bc69f290e2f5b474edeeae0ecf3c96c30d729af 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -2837,7 +2837,8 @@ LayoutUnit RenderBox::computeReplacedLogicalHeightUsing(const Length& logicalHei |
LayoutUnit RenderBox::availableLogicalHeight(AvailableLogicalHeightType heightType) const |
{ |
- return constrainLogicalHeightByMinMax(availableLogicalHeightUsing(style()->logicalHeight(), heightType), -1); |
+ // http://www.w3.org/TR/CSS2/visudet.html#propdef-height - We are interested in the content height. |
+ return constrainContentBoxLogicalHeightByMinMax(availableLogicalHeightUsing(style()->logicalHeight(), heightType), -1); |
} |
LayoutUnit RenderBox::availableLogicalHeightUsing(const Length& h, AvailableLogicalHeightType heightType) const |