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

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-foreign-object-crash.html

Issue 2887173002: Fix DCHECK to account for child SVG objects not having PaintLayers. (Closed)
Patch Set: Merge branch 'master' into foreignobjectcrash Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-foreign-object-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-foreign-object-crash.html b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-foreign-object-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..5c9a9f41e3c13c3868f27f8c231a1bb16c36f116
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-foreign-object-crash.html
@@ -0,0 +1,16 @@
+<!doctype HTML>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<style>
+ * { clip-path: url(); }
+</style>
+This test passes if it does not crash.
+<svg>
+ <foreignObject>
+ <div>
+ </div>
+ </foreignObject>
+</svg>
+<script>
+test(function() {});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698