Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Essai</title> |
michael@0 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
michael@0 | 6 | <script type="text/javascript" language="javascript"> |
michael@0 | 7 | |
michael@0 | 8 | function remove_col2() { |
michael@0 | 9 | |
michael@0 | 10 | var colp = document.getElementById("colp"); |
michael@0 | 11 | |
michael@0 | 12 | var c4= document.getElementById("c4"); |
michael@0 | 13 | |
michael@0 | 14 | |
michael@0 | 15 | |
michael@0 | 16 | colp.colSpan=0; |
michael@0 | 17 | |
michael@0 | 18 | colp.style.display="none"; |
michael@0 | 19 | |
michael@0 | 20 | c4.style.display="none"; |
michael@0 | 21 | |
michael@0 | 22 | |
michael@0 | 23 | |
michael@0 | 24 | |
michael@0 | 25 | |
michael@0 | 26 | |
michael@0 | 27 | |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | function remove_col() { |
michael@0 | 31 | var tr1 = document.getElementById("tr1"); |
michael@0 | 32 | |
michael@0 | 33 | var tr2 = document.getElementById("tr2"); |
michael@0 | 34 | |
michael@0 | 35 | var tr3 = document.getElementById("tr3"); |
michael@0 | 36 | |
michael@0 | 37 | var colp = document.getElementById("colp"); |
michael@0 | 38 | |
michael@0 | 39 | var c1 = document.getElementById("c1"); |
michael@0 | 40 | |
michael@0 | 41 | var c2 = document.getElementById("c2"); |
michael@0 | 42 | |
michael@0 | 43 | var c3 = document.getElementById("c3"); |
michael@0 | 44 | |
michael@0 | 45 | var c4= document.getElementById("c4"); |
michael@0 | 46 | |
michael@0 | 47 | |
michael@0 | 48 | |
michael@0 | 49 | c1.style.display="none"; |
michael@0 | 50 | |
michael@0 | 51 | colp.colSpan=1; |
michael@0 | 52 | |
michael@0 | 53 | c3.style.display="none"; |
michael@0 | 54 | |
michael@0 | 55 | c2.style.display="none"; |
michael@0 | 56 | |
michael@0 | 57 | document.documentElement.offsetHeight; |
michael@0 | 58 | |
michael@0 | 59 | remove_col2(); |
michael@0 | 60 | |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | |
michael@0 | 64 | |
michael@0 | 65 | </script> |
michael@0 | 66 | </head> |
michael@0 | 67 | <body onload="remove_col()"> |
michael@0 | 68 | <table border="1" id="t_0"> |
michael@0 | 69 | <thead> |
michael@0 | 70 | <tr id="tr1"> |
michael@0 | 71 | <th rowspan="2">aaaa</th> |
michael@0 | 72 | <th rowspan="2">bbbb</th> |
michael@0 | 73 | <th colspan="2" id ="colp">cccc</th> |
michael@0 | 74 | <th rowspan="2">dddd</th> |
michael@0 | 75 | </tr> |
michael@0 | 76 | <tr id="tr2"> |
michael@0 | 77 | <th id="c1">eeee</th> |
michael@0 | 78 | <th id="c2">ffff</th> |
michael@0 | 79 | </tr> |
michael@0 | 80 | </thead> |
michael@0 | 81 | <tbody> |
michael@0 | 82 | <tr id="tr3"> |
michael@0 | 83 | <td>1111</td> |
michael@0 | 84 | <td>2222</td> |
michael@0 | 85 | <td id="c3">3333</td> |
michael@0 | 86 | <td id="c4">4444</td> |
michael@0 | 87 | <td>5555</td> |
michael@0 | 88 | </tr> |
michael@0 | 89 | </tbody> |
michael@0 | 90 | </table> |
michael@0 | 91 | |
michael@0 | 92 | </body> |
michael@0 | 93 | </html> |