8 testRunner
.waitUntilDone();
11 if (location
.hash
== "") {
14 count
= parseInt(location
.hash
.substring(1));
16 document
.write('PASS');
17 if (window
.testRunner
) {
18 testRunner
.dumpAsText();
19 testRunner
.notifyDone();
25 doc
= document
.documentElement
;
26 mq1
= document
.createElement('marquee');
27 var iframe
= document
.createElement('iframe');
28 iframe
.src
= "nonexistent";
30 doc
.appendChild(iframe
);
31 mq2
= mq1
.cloneNode(false);
33 iframe
.onload
= iframe_onload
;
34 setTimeout('start_pause1()', 100);
37 function start_pause1() {
38 document
.removeChild(doc
);
39 document
.appendChild(doc
);
40 setTimeout('start_pause2()', 100);
43 function start_pause2() {
44 document
.removeChild(doc
);
46 document
.appendChild(doc
);
47 location
.hash
= '#' + ++count
;
51 function iframe_onload() {
56 var iframe
= document
.createElement('iframe');
57 iframe
.src
='resources/marquee-crash.svg';
58 doc
.appendChild(iframe
);
61 <body onload=
"start()"></body>