| Index: Source/core/rendering/RenderTreeAsText.cpp
|
| diff --git a/Source/core/rendering/RenderTreeAsText.cpp b/Source/core/rendering/RenderTreeAsText.cpp
|
| index fe107ac2b79a828898f899d39877dcfbbbea95d8..aa917e885a177e25f27b2e14564761b5c1a1ea46 100644
|
| --- a/Source/core/rendering/RenderTreeAsText.cpp
|
| +++ b/Source/core/rendering/RenderTreeAsText.cpp
|
| @@ -269,17 +269,17 @@ void RenderTreeAsText::writeRenderObject(TextStream& ts, const RenderObject& o,
|
| // Do not dump invalid or transparent backgrounds, since that is the default.
|
| Color backgroundColor = o.resolveColor(CSSPropertyBackgroundColor);
|
| if (o.parent()->resolveColor(CSSPropertyBackgroundColor) != backgroundColor
|
| - && backgroundColor.isValid() && backgroundColor.rgb())
|
| + && backgroundColor.rgb())
|
| ts << " [bgcolor=" << backgroundColor.nameForRenderTreeAsText() << "]";
|
|
|
| Color textFillColor = o.resolveColor(CSSPropertyWebkitTextFillColor);
|
| if (o.parent()->resolveColor(CSSPropertyWebkitTextFillColor) != textFillColor
|
| - && textFillColor.isValid() && textFillColor != color && textFillColor.rgb())
|
| + && textFillColor != color && textFillColor.rgb())
|
| ts << " [textFillColor=" << textFillColor.nameForRenderTreeAsText() << "]";
|
|
|
| Color textStrokeColor = o.resolveColor(CSSPropertyWebkitTextStrokeColor);
|
| if (o.parent()->resolveColor(CSSPropertyWebkitTextStrokeColor) != textStrokeColor
|
| - && textStrokeColor.isValid() && textStrokeColor != color && textStrokeColor.rgb())
|
| + && textStrokeColor != color && textStrokeColor.rgb())
|
| ts << " [textStrokeColor=" << textStrokeColor.nameForRenderTreeAsText() << "]";
|
|
|
| if (o.parent()->style()->textStrokeWidth() != o.style()->textStrokeWidth() && o.style()->textStrokeWidth() > 0)
|
|
|