Index: Source/core/rendering/RenderView.cpp |
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp |
index 83e5e8ba6bfbce75709d238c469209bceb8b31e2..0501515b4aae0e96d135764da54048d6bf51071f 100644 |
--- a/Source/core/rendering/RenderView.cpp |
+++ b/Source/core/rendering/RenderView.cpp |
@@ -269,7 +269,8 @@ void RenderView::layout() |
|| child->style()->logicalMaxHeight().isPercent() |
|| child->style()->logicalHeight().isViewportPercentage() |
|| child->style()->logicalMinHeight().isViewportPercentage() |
- || child->style()->logicalMaxHeight().isViewportPercentage()) |
+ || child->style()->logicalMaxHeight().isViewportPercentage() |
+ || child->isSVGRoot()) |
child->setChildNeedsLayout(true, MarkOnlyThis); |
} |
} |