--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {DIV} at (0,0) size 220x220 [bgcolor=#00FF00] [border: (10px solid #00FFFF) (10px solid #FF0000) (10px solid #0000FF) (10px solid #00FFFF)]
+ RenderText {#text} at (10,10) size 4x18
+ text run at (10,10) width 4: " "
if (renderRadii) {
int leftX = tx;
int leftY = ty + h - bottomLeft.height() * 2;
+ int rightY = ty + h - bottomRight.height() * 2;
int rightX = tx + w - bottomRight.width() * 2;
secondAngleStart = 270;
secondAngleSpan = upperRightBorderStylesMatch ? 90 : 45;
&& (bs != DOUBLE || style->borderBottomWidth() > 6);
if (applyRightInnerClip) {
graphicsContext->save();
- graphicsContext->addInnerRoundedRectClip(IntRect(rightX, leftY, bottomRight.width() * 2, bottomRight.height() * 2),
+ graphicsContext->addInnerRoundedRectClip(IntRect(rightX, rightY, bottomRight.width() * 2, bottomRight.height() * 2),
style->borderBottomWidth());
}
// Draw lower right arc
- drawBorderArc(graphicsContext, rightX, leftY, thickness, bottomRight, secondAngleStart, secondAngleSpan,
+ drawBorderArc(graphicsContext, rightX, rightY, thickness, bottomRight, secondAngleStart, secondAngleSpan,
BSBottom, bc, style->color(), bs, false);
if (applyRightInnerClip)
graphicsContext->restore();
if (renderRadii && (!upperRightBorderStylesMatch || !lowerRightBorderStylesMatch)) {
int topX = tx + w - topRight.width() * 2;
int topY = ty;
+ int bottomX = tx + w - bottomRight.width() * 2;
int bottomY = ty + h - bottomRight.height() * 2;
firstAngleStart = 0;
secondAngleStart = 315;
&& (rs != DOUBLE || style->borderRightWidth() > 6);
if (applyBottomInnerClip) {
graphicsContext->save();
- graphicsContext->addInnerRoundedRectClip(IntRect(topX, bottomY, bottomRight.width() * 2, bottomRight.height() * 2),
+ graphicsContext->addInnerRoundedRectClip(IntRect(bottomX, bottomY, bottomRight.width() * 2, bottomRight.height() * 2),
style->borderRightWidth());
}
// Draw bottom right arc
- drawBorderArc(graphicsContext, topX, bottomY, thickness, bottomRight, secondAngleStart, secondAngleSpan,
+ drawBorderArc(graphicsContext, bottomX, bottomY, thickness, bottomRight, secondAngleStart, secondAngleSpan,
BSRight, rc, style->color(), rs, false);
if (applyBottomInnerClip)
graphicsContext->restore();