diff options
Diffstat (limited to 'WebCore/rendering/RenderBoxModelObject.cpp')
-rw-r--r-- | WebCore/rendering/RenderBoxModelObject.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/rendering/RenderBoxModelObject.cpp b/WebCore/rendering/RenderBoxModelObject.cpp index e83b709..ae89e0a 100644 --- a/WebCore/rendering/RenderBoxModelObject.cpp +++ b/WebCore/rendering/RenderBoxModelObject.cpp @@ -526,17 +526,17 @@ void RenderBoxModelObject::paintFillLayerExtended(const PaintInfo& paintInfo, co if (!includeLeftEdge) { topLeft = IntSize(); - if (box->isVertical()) - topRight = IntSize(); - else + if (box->isHorizontal()) bottomLeft = IntSize(); + else + topRight = IntSize(); } if (!includeRightEdge) { - if (box->isVertical()) - bottomLeft = IntSize(); - else + if (box->isHorizontal()) topRight = IntSize(); + else + bottomLeft = IntSize(); bottomRight = IntSize(); } |