OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <div> | |
3 <svg width="200" height="200"> | |
4 <rect width="20" height="20" x="10" y="10"> | |
5 <animate attributeName="fill" values="#111; #111" dur="2s" repeatCount="in definite"/> | |
6 </rect> | |
7 </svg> | |
8 </div> | |
9 <script type="text/javascript"> | |
10 function pass() { | |
11 document.write("PASS"); | |
12 if (window.testRunner) | |
13 testRunner.notifyDone(); | |
14 } | |
15 window.onload = function() { | |
16 if (window.testRunner) { | |
17 testRunner.waitUntilDone(); | |
18 testRunner.dumpAsText(); | |
19 } | |
20 window.setTimeout(function() { | |
21 var f = document.createDocumentFragment(); | |
22 var n = document.querySelector('div'); | |
23 while (n.lastChild) { | |
24 f.appendChild(n.lastChild); | |
25 } | |
26 n.appendChild(f); | |
27 window.setTimeout(pass, 1000); | |
davve
2013/12/20 11:50:07
I ran into a similar issue with the TC in <https:/
| |
28 }, 20); | |
29 }; | |
30 </script> | |
OLD | NEW |