OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title></title> | 3 <title></title> |
4 <script src="resources/text-based-repaint.js"></script> | 4 <script src="resources/text-based-repaint.js"></script> |
5 <script> | 5 <script> |
6 function repaintTest() | 6 function repaintTest() |
7 { | 7 { |
8 document.getElementById("popup").selectedIndex = 1; | 8 document.getElementById("popup").selectedIndex = 1; |
9 document.getElementById("button").innerText = "SUCCESS"; | 9 document.getElementById("button").innerText = "SUCCESS"; |
10 } | 10 } |
(...skipping 11 matching lines...) Expand all Loading... |
22 <p> | 22 <p> |
23 The popup and the button should say “SUCCESS” with no sign o
f “FAILURE”. | 23 The popup and the button should say “SUCCESS” with no sign o
f “FAILURE”. |
24 </p> | 24 </p> |
25 <select id="popup"> | 25 <select id="popup"> |
26 <option>FAILURE</option> | 26 <option>FAILURE</option> |
27 <option>SUCCESS</option> | 27 <option>SUCCESS</option> |
28 </select> | 28 </select> |
29 <button id="button">FAILURE</button> | 29 <button id="button">FAILURE</button> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |