Chromium Code Reviews| 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..09728e1cc077e61cbfbf690aa912bb41ec54341e |
| --- /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, 1000); |
|
davve
2013/12/20 11:50:07
I ran into a similar issue with the TC in <https:/
|
| + }, 20); |
| +}; |
| +</script> |