Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index d1d495c169724088b5fab5544249eceb017216c8..629e5a945f78550484158c0f78f68178fe206936 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -1891,6 +1891,8 @@ void RenderObject::setPseudoStyle(PassRefPtr<RenderStyle> pseudoStyle) |
inline bool RenderObject::hasImmediateNonWhitespaceTextChildOrPropertiesDependentOnColor() const |
{ |
+ if (style()->hasBorder() || style()->hasOutline()) |
+ return true; |
for (const RenderObject* r = firstChild(); r; r = r->nextSibling()) { |
if (r->isText() && !toRenderText(r)->isAllCollapsibleWhitespace()) |
return true; |