Index: LayoutTests/svg/custom/pattern-content-inheritance-cycle.html |
diff --git a/LayoutTests/svg/custom/pattern-content-inheritance-cycle.html b/LayoutTests/svg/custom/pattern-content-inheritance-cycle.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0b3f87b58b6352e484d30d5aafb8b7df9c6ab115 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/pattern-content-inheritance-cycle.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src=../../resources/run-after-layout-and-paint.js></script> |
+<p>PASS if no crash (stack overflow)</p> |
+<svg> |
+ <pattern id="a" width="1" height="1"> |
+ <rect fill="url(#b)" width="1" height="1"/> |
+ </pattern> |
+ <pattern id="b" xlink:href="#a"/> |
+ <rect fill="url(#b)" width="1" height="1"/> |
+</svg> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+runAfterLayoutAndPaint(function() {}, true); |
+</script> |