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

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

Issue 2368043002: [SPv2] Separate SVG root viewport clip from overflow clip. (Closed)
Patch Set: none Created 4 years, 3 months 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
Index: third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
index 11af26372097f6b2de63f7de1c718d6f8da8241f..b24e6e5eaca2d2d8aa26325a705ee4bf4f428de4 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
@@ -14,7 +14,9 @@ void ObjectPaintProperties::getContentsProperties(GeometryPropertyTreeState& pro
else if (svgLocalToBorderBoxTransform())
properties.transform = svgLocalToBorderBoxTransform();
- if (overflowClip())
+ if (svgRootViewportClip())
+ properties.clip = svgRootViewportClip();
+ else if (overflowClip())
properties.clip = overflowClip();
else if (cssClip())
properties.clip = cssClip();

Powered by Google App Engine
This is Rietveld 408576698