| Index: Source/core/rendering/RenderListBox.cpp
|
| diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp
|
| index 4a5fa8f77e09ac0b0f303ce00a2278bf701b3de2..daf3816fb8df8e0337bbea9f973519385724c147 100644
|
| --- a/Source/core/rendering/RenderListBox.cpp
|
| +++ b/Source/core/rendering/RenderListBox.cpp
|
| @@ -290,7 +290,12 @@ LayoutUnit RenderListBox::listHeight() const
|
|
|
| void RenderListBox::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
|
| {
|
| - LayoutUnit height = itemHeight() * size() - rowSpacing + borderAndPaddingHeight();
|
| + LayoutUnit height = itemHeight() * size() - rowSpacing;
|
| + // FIXME: This height should have been added in before we got here to avoid this hack.
|
| + updateIntrinsicContentLogicalHeight(height);
|
| +
|
| + height += borderAndPaddingHeight();
|
| +
|
| RenderBox::computeLogicalHeight(height, logicalTop, computedValues);
|
| }
|
|
|
|
|