Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <title></title> |
michael@0 | 4 | <script type="text/javascript"> |
michael@0 | 5 | function toggle(b) { |
michael@0 | 6 | var adv = document.getElementById("it_guru"); |
michael@0 | 7 | var ns = 'none'; |
michael@0 | 8 | if (b) { |
michael@0 | 9 | ns= "table-row"; |
michael@0 | 10 | } |
michael@0 | 11 | adv.style.display = ns; |
michael@0 | 12 | } |
michael@0 | 13 | function boom() |
michael@0 | 14 | { |
michael@0 | 15 | toggle(true); |
michael@0 | 16 | document.documentElement.offsetHeight; |
michael@0 | 17 | toggle(false); |
michael@0 | 18 | document.documentElement.offsetHeight; |
michael@0 | 19 | toggle(true); |
michael@0 | 20 | document.documentElement.offsetHeight; |
michael@0 | 21 | toggle(false); |
michael@0 | 22 | document.documentElement.offsetHeight; |
michael@0 | 23 | } |
michael@0 | 24 | </script></head><body onload="boom();"> |
michael@0 | 25 | <form action="http://localhost/"> |
michael@0 | 26 | <table> |
michael@0 | 27 | <tbody> |
michael@0 | 28 | <tr> |
michael@0 | 29 | <td>Without the <tbody> tags Mozilla doesn't crash |
michael@0 | 30 | </td> |
michael@0 | 31 | </tr> |
michael@0 | 32 | </tbody> |
michael@0 | 33 | <tr id="it_guru"> |
michael@0 | 34 | <td>I disappear |
michael@0 | 35 | </td> |
michael@0 | 36 | </tr> |
michael@0 | 37 | <tr> |
michael@0 | 38 | <td>Without this row Mozilla doesn't crash |
michael@0 | 39 | </td> |
michael@0 | 40 | </tr> |
michael@0 | 41 | </table> |
michael@0 | 42 | </form> |
michael@0 | 43 | </body> |
michael@0 | 44 | </html> |
michael@0 | 45 |