summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-start-manual.html
blob: 51b4289b247ae350c58e27c21e45e2f8766235fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>HTML Test: marquee-start</title>
<link rel="author" title="Intel" href="http://www.intel.com/">
<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/obsolete.html#the-marquee-element">
<meta name="flags" content="interact">
<meta name="assert" content="Check the start operation of HTMLMarqueeElement interface">
<h2>Steps:</h2>
<ol>
  <li>Click the 'Start' button to start the marquee element.</li>
</ol>
<h2>Expected result:</h2>
<ul>
  <li>The text "Test Marquee" start to move when the 'Start' button is clicked.</li>
</ul>
<input type="button" id="start" value="Start" />
<marquee id="test">Test Marquee</marquee>
<script>
  document.getElementById("test").stop();
  document.getElementById("start").addEventListener("click", function(evt) {
    document.getElementById("test").start();
  }, false);
</script>