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> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <script type="text/javascript"> |
michael@0 | 5 | function doTest() { |
michael@0 | 6 | var t = document.getElementById("t"); |
michael@0 | 7 | for (var i = 0; i < 5; ++i) { |
michael@0 | 8 | document.body.offsetWidth; |
michael@0 | 9 | t.style.display = "none"; |
michael@0 | 10 | document.body.offsetWidth; |
michael@0 | 11 | t.style.display = "block"; |
michael@0 | 12 | } |
michael@0 | 13 | document.documentElement.className = ""; |
michael@0 | 14 | } |
michael@0 | 15 | </script> |
michael@0 | 16 | </head> |
michael@0 | 17 | <body onload="doTest()"> |
michael@0 | 18 | <span style="display: table"> |
michael@0 | 19 | <span style="display: table-row"> |
michael@0 | 20 | <span style="display: table-cell"> |
michael@0 | 21 | Cell |
michael@0 | 22 | </span> |
michael@0 | 23 | <span style="display: table-cell"> |
michael@0 | 24 | Cell |
michael@0 | 25 | </span> |
michael@0 | 26 | <span style="display: table-cell"> |
michael@0 | 27 | Cell |
michael@0 | 28 | </span> |
michael@0 | 29 | <span style="display: table-cell"> |
michael@0 | 30 | Cell |
michael@0 | 31 | </span> |
michael@0 | 32 | <span style="display: table-cell"> |
michael@0 | 33 | Cell |
michael@0 | 34 | </span> |
michael@0 | 35 | </span> |
michael@0 | 36 | <span style="display: table-row"> |
michael@0 | 37 | <span style="display: block" id="t">Which column?</span> |
michael@0 | 38 | </span> |
michael@0 | 39 | </span> |
michael@0 | 40 | </body> |
michael@0 | 41 | </html> |