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