Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index b0cd4d79b14e72a0f184c0a89d600c638d763fe2..8dcfae88f6e5ddeabb49b413edc72203b420cb00 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -3665,7 +3665,10 @@ void RenderBox::computePositionedLogicalHeightUsing(Length logicalHeightLength, |
// Height is never unsolved for tables. |
if (isTable()) { |
- logicalHeightLength.setValue(Fixed, contentLogicalHeight); |
+ if (style()->boxSizing() == BORDER_BOX) |
+ logicalHeightLength.setValue(Fixed, logicalHeight); |
+ else |
+ logicalHeightLength.setValue(Fixed, contentLogicalHeight); |
logicalHeightIsAuto = false; |
} |