Horizontal and vertical lines are clipped completely if clip-path is included in...
[WebKit-https.git] / Source / WebCore / rendering / svg / RenderSVGResourceContainer.cpp
index 2bf2836..eea2ae3 100644 (file)
@@ -52,7 +52,7 @@ void RenderSVGResourceContainer::layout()
 {
     StackStats::LayoutCheckPoint layoutCheckPoint;
     // Invalidate all resources if our layout changed.
-    if (everHadLayout() && selfNeedsLayout())
+    if (selfNeedsClientInvalidation())
         RenderSVGRoot::addResourceForClientInvalidation(this);
 
     RenderSVGHiddenContainer::layout();