Index: Source/WebCore/rendering/RenderBox.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBox.cpp (revision 126670) |
+++ Source/WebCore/rendering/RenderBox.cpp (working copy) |
@@ -2262,7 +2262,7 @@ |
} |
} |
availableHeight = computeContentBoxLogicalHeight(valueForLength(logicalHeight, availableHeight)); |
- if (cb->style()->logicalHeight().isFixed()) |
+ if (cb->isBox() && cb->style()->logicalHeight().isFixed()) |
availableHeight = max<LayoutUnit>(0, availableHeight - toRenderBox(cb)->scrollbarLogicalHeight()); |
return availableHeight; |
} |