Index: LayoutTests/svg/custom/pattern-content-cycle-w-resourceless-container.html |
diff --git a/LayoutTests/svg/custom/pattern-content-cycle-w-resourceless-container.html b/LayoutTests/svg/custom/pattern-content-cycle-w-resourceless-container.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6602a51d18999e820aa53b940bbe4e60b2d2e660 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/pattern-content-cycle-w-resourceless-container.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+ window.onload = function() { |
+ testRunner.displayAsyncThen(function() { testRunner.notifyDone(); }); |
+ }; |
+} |
+</script> |
+<p>PASS if no crash (stack overflow).</p> |
+<svg width="100" height="100"> |
+ <rect fill="url(#p1)" width="100" height="100"/> |
+ <pattern id="p2" width="1" height="1"> |
+ <g> |
+ <rect fill="url(#p1)" width="100" height="100"/> |
+ </g> |
+ </pattern> |
+ <pattern id="p1" width="1" height="1"> |
+ <g> |
+ <rect fill="url(#p2)" width="100" height="100"/> |
+ </g> |
+ </pattern> |
+</svg> |