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

Unified Diff: LayoutTests/svg/custom/pattern-content-inheritance-cycle.html

Issue 1356053002: Consider Layout tree cycles when resolving the <pattern> content element (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/pattern-content-inheritance-cycle-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/pattern-content-inheritance-cycle-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698