6 transform: translateZ(
1px);
10 background-color: green;
15 <!-- This test passes if it doesn't trigger an ASSERT in debug mode. It makes sure that the timer
16 used to update the marquee will not run before the layout is done. -->
19 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"1" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
20 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"2" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
21 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"3" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
22 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"4" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
23 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"5" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
24 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"6" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
25 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"7" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
26 <marquee behavior=
"scroll" direction=
"left" scrolldelay=
"8" truespeed=
"true" scrollamount=
"1"><span class=
"content"></span></marquee>
29 <p>Counter:
<span id=
"counter"></span></p>
32 if (window
.testRunner
) {
33 testRunner
.waitUntilDone();
34 testRunner
.dumpAsText();
38 // Trigger "pending layouts", that might run after the marquee timer is fired.
39 var counter
= document
.getElementById("counter");
40 var textNode
= document
.createTextNode("");
41 counter
.appendChild(textNode
);
42 var interval
= setInterval(function() {
43 textNode
.nodeValue
= Math
.random();
44 if ((++times
) >= 10) {
45 document
.getElementById("container").remove();
46 textNode
.nodeValue
= "";
47 clearInterval(interval
);
48 if (window
.testRunner
)
49 testRunner
.notifyDone();