summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/rendering/RenderBlockLineLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderBlockLineLayout.cpp b/WebCore/rendering/RenderBlockLineLayout.cpp
index 878d1ab..6b9fc68 100644
--- a/WebCore/rendering/RenderBlockLineLayout.cpp
+++ b/WebCore/rendering/RenderBlockLineLayout.cpp
@@ -567,7 +567,7 @@ void RenderBlock::layoutInlineChildren(bool relayoutChildren, int& repaintLogica
const int lineHeight = style()->computedLineHeight();
const int fontSize = style()->fontSize();
doTextWrap = autowrap && !positioned &&
- (fontSize <= lineHeight) && !style()->hasBackgroundImage() &&
+ (fontSize <= lineHeight) && !style()->hasBackground() &&
(((dir == LTR && cssfloat != FRIGHT) ||
(dir == RTL && cssfloat != FLEFT)) &&
((ta == TAAUTO) || (ta == JUSTIFY) ||