Chromium Code Reviews| Index: Source/core/rendering/RenderBox.cpp |
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
| index 84b19d2eb371becd6decf590071582e834a54f76..a6952395c79a98bdf6dd11f132a2f8298f0824c2 100644 |
| --- a/Source/core/rendering/RenderBox.cpp |
| +++ b/Source/core/rendering/RenderBox.cpp |
| @@ -2676,6 +2676,8 @@ LayoutUnit RenderBox::computePercentageLogicalHeight(const Length& height) const |
| availableHeight = containingBlockChild->containingBlockLogicalWidthForContent(); |
| else if (hasOverrideContainingBlockLogicalHeight()) |
| availableHeight = overrideContainingBlockContentLogicalHeight(); |
| + else if (cb->hasOverrideContainingBlockLogicalHeight()) |
|
cbiesinger
2014/06/24 03:01:28
So, we're now giving overrideContainingBlockLogica
harpreet.sk
2014/06/24 07:56:59
We simply cannot change the code as
else if (cb-
|
| + availableHeight = cb->overrideContainingBlockContentLogicalHeight(); |
| else if (cb->isTableCell()) { |
| if (!skippedAutoHeightContainingBlock) { |
| // Table cells violate what the CSS spec says to do with heights. Basically we |