Chromium Code Reviews| Index: Source/core/rendering/RenderObject.cpp |
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
| index 9ca93e6cb026aae6ef61fc27d699913bdaea63a5..ed1a847e9800066e23378472cf1d997da19c9b38 100644 |
| --- a/Source/core/rendering/RenderObject.cpp |
| +++ b/Source/core/rendering/RenderObject.cpp |
| @@ -1748,7 +1748,7 @@ bool RenderObject::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* repa |
| repaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldBounds.x(), newBounds.maxY(), oldBounds.width(), -deltaBottom), invalidationReason); |
| // FIXME: This is a limitation of our visual overflow being a single rectangle. |
| - if (!style()->boxShadow() && !style()->hasBorderImageOutsets() && !style()->hasOutline()) |
| + if (!style()->hasBorder() && !style()->boxShadow() && !style()->hasBorderImageOutsets() && !style()->hasOutline()) |
|
Julien - ping for review
2014/06/11 17:53:24
The border does not generate visual overflow and i
Xianzhu
2014/06/16 16:25:29
For example, when an object with border is increas
Julien - ping for review
2014/06/16 20:04:24
OK, I really think we should include the border in
Xianzhu
2014/06/16 20:49:16
I had tried to modify regular invalidation code, b
|
| return false; |
| // We didn't move, but we did change size. Invalidate the delta, which will consist of possibly |