Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <script> |
michael@0 | 5 | function doTest() { |
michael@0 | 6 | document.getElementById("t").style.display = "table-row"; |
michael@0 | 7 | } |
michael@0 | 8 | </script> |
michael@0 | 9 | </head> |
michael@0 | 10 | <body onload="doTest()"> |
michael@0 | 11 | <table style="border-collapse: collapse"> |
michael@0 | 12 | <tr style="display: block; border: 5px solid"> |
michael@0 | 13 | <td>LongLongLong</td> |
michael@0 | 14 | </tr> |
michael@0 | 15 | <tr style="display: none; border: 5px solid" id="t"> |
michael@0 | 16 | <td>Short</td> |
michael@0 | 17 | </tr> |
michael@0 | 18 | </table> |
michael@0 | 19 | </body> |
michael@0 | 20 | </html> |