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

Unified Diff: LayoutTests/svg/custom/cross-referenced-resources.html

Issue 23785014: [SVG] Resources should be laid out in dependecy order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: text-layout-crash.html needs image result update. Created 7 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: LayoutTests/svg/custom/cross-referenced-resources.html
diff --git a/LayoutTests/svg/custom/cross-referenced-resources.html b/LayoutTests/svg/custom/cross-referenced-resources.html
new file mode 100644
index 0000000000000000000000000000000000000000..703f4042027c563df852cf8809733edef4f0b2fd
--- /dev/null
+++ b/LayoutTests/svg/custom/cross-referenced-resources.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <!-- Test for https://code.google.com/p/chromium/issues/detail?id=282925.
+ Passes if it displays two green rects and doesn't crash in debug mode -->
+ <svg width="200" height="200" filter="url(#f2)" xmlns="http://www.w3.org/2000/svg">
+ <filter height="150%" id="f1">
+ <feOffset dy="30"/>
+ </filter>
+ <rect id="r1" width="100" height="100" fill="green"/>
+ </svg>
+ <svg width="200" height="200" filter="url(#f1)" xmlns="http://www.w3.org/2000/svg">
+ <filter width="150%" id="f2">
+ <feOffset dx="30"/>
+ </filter>
+ <rect id="r2" width="100" height="100" fill="green"/>
+ </svg>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698