Index: Source/WebCore/rendering/InlineFlowBox.cpp |
=================================================================== |
--- Source/WebCore/rendering/InlineFlowBox.cpp (revision 86491) |
+++ Source/WebCore/rendering/InlineFlowBox.cpp (working copy) |
@@ -539,7 +539,7 @@ |
int boxHeight = ascent + descent; |
if (curr->verticalAlign() == TOP) { |
- if (maxPositionTop < ascent) |
+ if (maxPositionTop < boxHeight) |
maxPositionTop = boxHeight; |
} else if (curr->verticalAlign() == BOTTOM) { |
if (maxPositionBottom < boxHeight) |