Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index 18f1df9511b843b893c025c52bc90f1cacd0006c..3f697780ef599d6f24e11d58520e973c920282c5 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -2384,7 +2384,7 @@ LayoutUnit LayoutBox::computeContentAndScrollbarLogicalHeightUsing(SizeType heig |
if (height.isIntrinsic()) { |
if (intrinsicContentHeight == -1) |
return -1; // Intrinsic height isn't available. |
- return computeIntrinsicLogicalContentHeightUsing(height, intrinsicContentHeight, borderAndPaddingLogicalHeight()); |
+ return computeIntrinsicLogicalContentHeightUsing(height, intrinsicContentHeight, borderAndPaddingLogicalHeight()) + scrollbarLogicalHeight(); |
} |
if (height.isFixed()) |
return height.value(); |