Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
michael@0 | 2 | <html lang="en" class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>bug 237421: test2a</title> |
michael@0 | 5 | |
michael@0 | 6 | <script type="text/javascript"> |
michael@0 | 7 | |
michael@0 | 8 | |
michael@0 | 9 | |
michael@0 | 10 | function remove_second_row() { |
michael@0 | 11 | |
michael@0 | 12 | var r2 = document.getElementById("row2"); |
michael@0 | 13 | |
michael@0 | 14 | r2.style.display ="none"; |
michael@0 | 15 | |
michael@0 | 16 | setTimeout('remove_first_row()', 10); |
michael@0 | 17 | |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | |
michael@0 | 21 | |
michael@0 | 22 | function remove_first_row() { |
michael@0 | 23 | |
michael@0 | 24 | var r1 = document.getElementById("row1"); |
michael@0 | 25 | |
michael@0 | 26 | r1.style.display ="none"; |
michael@0 | 27 | |
michael@0 | 28 | document.documentElement.removeAttribute("class"); |
michael@0 | 29 | |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | |
michael@0 | 33 | |
michael@0 | 34 | </script> |
michael@0 | 35 | |
michael@0 | 36 | |
michael@0 | 37 | </head> |
michael@0 | 38 | <body onload="setTimeout( 'remove_second_row()', 10)"> |
michael@0 | 39 | <table border> |
michael@0 | 40 | <tr id="row1"><td rowspan="3">a</td><td rowspan="3">b</td></tr> |
michael@0 | 41 | <tr id="row2"></tr> |
michael@0 | 42 | <tr></tr> |
michael@0 | 43 | <tr><td>c</td></tr> |
michael@0 | 44 | </table> |
michael@0 | 45 | |
michael@0 | 46 | </body> |
michael@0 | 47 | </html> |