blob: 51b4289b247ae350c58e27c21e45e2f8766235fc [file] [log] [blame]
<!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>