Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 6245b13d9c5c65345753c31990ed1d75bb31f0cb..101de663a933e3ad248ea25d4d13d266fda50906 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -2674,8 +2674,8 @@ LayoutUnit RenderBox::computePercentageLogicalHeight(const Length& height) const |
if (isHorizontalWritingMode() != cb->isHorizontalWritingMode()) |
availableHeight = containingBlockChild->containingBlockLogicalWidthForContent(); |
- else if (hasOverrideContainingBlockLogicalHeight()) |
- availableHeight = overrideContainingBlockContentLogicalHeight(); |
+ else if (cb->hasOverrideContainingBlockLogicalHeight()) |
+ availableHeight = cb->overrideContainingBlockContentLogicalHeight(); |
tony
2014/06/18 17:53:18
Why remove the previous check? Shouldn't this be
harpreet.sk
2014/06/19 12:22:38
You are right. I didn't have to remove this check.
|
else if (cb->isTableCell()) { |
if (!skippedAutoHeightContainingBlock) { |
// Table cells violate what the CSS spec says to do with heights. Basically we |