summaryrefslogtreecommitdiffstats
path: root/layout/reftests/marquee/406073-1.html
blob: 01787afda38b33bab16291d0a74f33987785524b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html class="reftest-wait">
<body style="border:3px solid;" onload="setTimeout(doe, 0)">
<marquee behavior="alternate" scrollamount="100"><span style="background-color: lime;">marquee</span></marquee>
  <script>
    function doe() {
      document.getElementsByTagName('marquee')[0].stop();
      document.getElementsByTagName('marquee')[0].start();
      document.getElementsByTagName('marquee')[0].stop();
      document.getElementsByTagName('marquee')[0].start();
      document.getElementsByTagName('marquee')[0].stop();
      document.getElementsByTagName('marquee')[0].start();
      document.getElementsByTagName('marquee')[0].stop();
      document.getElementsByTagName('marquee')[0].start();
      document.getElementsByTagName('marquee')[0].stop();
      document.getElementsByTagName('marquee')[0].start();
      document.getElementsByTagName('marquee')[0].stop();
      document.getElementsByTagName('marquee')[0].start();
      document.getElementsByTagName('marquee')[0].stop();
      document.documentElement.className = "";
    }
  </script>
</body>
</html>