Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index 25760fdcf773452604f0bf301141ce6fe26144d6..8074c6a564969486e5b5f80e2a71ed624412df55 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -906,6 +906,8 @@ void RenderGrid::layoutGridItems() |
m_gridItemsOverflowingGridArea.resize(0); |
for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { |
+ child->setMayNeedInvalidation(true); |
+ |
// Because the grid area cannot be styled, we don't need to adjust |
// the grid breadth to account for 'box-sizing'. |
LayoutUnit oldOverrideContainingBlockContentLogicalWidth = child->hasOverrideContainingBlockLogicalWidth() ? child->overrideContainingBlockContentLogicalWidth() : LayoutUnit(); |