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/animations/animate-element-reinserted-crash.html

Issue 107083007: Reset SVGAnimationElement values animation state on attribute changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 0ms timeout for pass. Created 6 years, 11 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-element-reinserted-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/animations/animate-element-reinserted-crash.html
diff --git a/LayoutTests/svg/animations/animate-element-reinserted-crash.html b/LayoutTests/svg/animations/animate-element-reinserted-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..c31527f57411812ce4008dc7cd9e0ed4b2aabbad
--- /dev/null
+++ b/LayoutTests/svg/animations/animate-element-reinserted-crash.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<div>
+ <svg width="200" height="200">
+ <rect width="20" height="20" x="10" y="10">
+ <animate attributeName="fill" values="#111; #111" dur="2s" repeatCount="indefinite"/>
+ </rect>
+ </svg>
+</div>
+<script type="text/javascript">
+function pass() {
+ document.write("PASS");
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
+window.onload = function() {
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ }
+ window.setTimeout(function() {
+ var f = document.createDocumentFragment();
+ var n = document.querySelector('div');
+ while (n.lastChild) {
+ f.appendChild(n.lastChild);
+ }
+ n.appendChild(f);
+ window.setTimeout(pass, 0);
+ }, 20);
+};
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/animations/animate-element-reinserted-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698