Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: third_party/WebKit/Source/core/paint/SVGClipPainter.cpp

Issue 2555483003: Don't fail clip-paths with empty bounds (Closed)
Patch Set: Add SPv2 expectation Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/clip-path/nested-empty-clip-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
index e3103a94ad19db21d1f1ece99d82016c58aacfc0..ceee3156fa792208cb3fe6b0f19e7178d9c823e5 100644
--- a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
@@ -48,7 +48,7 @@ bool SVGClipPainter::prepareEffect(const LayoutObject& target,
m_clip.clearInvalidationMask();
- if (visualRect.isEmpty() || m_clip.hasCycle())
+ if (m_clip.hasCycle())
return false;
SVGClipExpansionCycleHelper inClipExpansionChange(m_clip);
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/clip-path/nested-empty-clip-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698