Commit 6b2fb21a authored by hyatt's avatar hyatt

Only dump stroke/fill if it's different from color

git-svn-id: svn://svn.chromium.org/blink/trunk@18687 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent ac5f55f5
......@@ -189,11 +189,13 @@ static TextStream &operator<<(TextStream& ts, const RenderObject& o)
ts << " [bgcolor=" << o.style()->backgroundColor().name() << "]";
if (o.parent() && (o.parent()->style()->textFillColor() != o.style()->textFillColor()) &&
o.style()->textFillColor().isValid() && o.style()->textFillColor().rgb())
o.style()->textFillColor().isValid() && o.style()->textFillColor() != o.style()->color() &&
o.style()->textFillColor().rgb())
ts << " [textFillColor=" << o.style()->textFillColor().name() << "]";
if (o.parent() && (o.parent()->style()->textStrokeColor() != o.style()->textStrokeColor()) &&
o.style()->textStrokeColor().isValid() && o.style()->textStrokeColor().rgb())
o.style()->textStrokeColor().isValid() && o.style()->textStrokeColor() != o.style()->color() &&
o.style()->textStrokeColor().rgb())
ts << " [textStrokeColor=" << o.style()->textStrokeColor().name() << "]";
if (o.parent() && (o.parent()->style()->textStrokeWidth() != o.style()->textStrokeWidth()) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment