diff options
Diffstat (limited to 'WebCore/rendering/RenderBoxModelObject.cpp')
-rw-r--r-- | WebCore/rendering/RenderBoxModelObject.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderBoxModelObject.cpp b/WebCore/rendering/RenderBoxModelObject.cpp index bd19165..143c72c 100644 --- a/WebCore/rendering/RenderBoxModelObject.cpp +++ b/WebCore/rendering/RenderBoxModelObject.cpp @@ -1064,6 +1064,7 @@ void RenderBoxModelObject::paintBorder(GraphicsContext* graphicsContext, int tx, graphicsContext->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight); graphicsContext->clipOutRoundedRect(innerBorderRect, innerTopLeft, innerTopRight, innerBottomLeft, innerBottomRight); roundedPath.addRoundedRect(borderRect, topLeft, topRight, bottomLeft, bottomRight); + graphicsContext->addPath(roundedPath); } } @@ -1804,10 +1805,13 @@ void RenderBoxModelObject::paintBoxShadow(GraphicsContext* context, int tx, int } else path.addRect(holeRect); + context->beginPath(); + context->addPath(path); + context->setFillRule(RULE_EVENODD); context->setFillColor(fillColor, s->colorSpace()); context->setShadow(shadowOffset, shadowBlur, shadowColor, s->colorSpace()); - context->fillPath(path); + context->fillPath(); context->restore(); } |