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

Unified Diff: LayoutTests/svg/animations/animate-teardown.html

Issue 327463002: SVG: no need to call |clearAnimatedType| at SVGAnimate{,Motion}Element dtor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add LayoutTest Created 6 years, 6 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/animations/animate-teardown-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/animations/animate-teardown.html
diff --git a/LayoutTests/svg/animations/animate-teardown.html b/LayoutTests/svg/animations/animate-teardown.html
new file mode 100644
index 0000000000000000000000000000000000000000..2d05296e851a3b5c457136316fa8726326d20b86
--- /dev/null
+++ b/LayoutTests/svg/animations/animate-teardown.html
@@ -0,0 +1,14 @@
+<svg>
rwlbuis 2014/06/11 19:54:21 Usually we have a more complete document element,
kouhei (in TOK) 2014/06/12 01:24:53 This was meant to be html5 inline svg tag. Added h
+ <!-- animate element is destructed before rect elements -->
+ <animate xlink:href="#rect" attributeName="x" attributeType="XML" begin="0s" dur="10s" fill="freeze" from="0" to="100" />
+ <g id="usetarget">
+ <rect id="rect" x="10" y="10" width="10" height="10" fill="red"></rect>
+ </g>
+ <use xlink:href="#usetarget"></use>
+</svg>
+<p>Test pass if unloading this document does not fail ASSERTs on debug builds.</p>
rwlbuis 2014/06/11 19:54:21 "Test passes"
kouhei (in TOK) 2014/06/12 01:24:53 Done.
+<script>
+// This test doesn't use js-test.js to avoid unexpected DOM references.
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animate-teardown-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698