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 | <html><head> |
michael@0 | 2 | <title>Test for Bug 337124</title> |
michael@0 | 3 | <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 4 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
michael@0 | 5 | </head> |
michael@0 | 6 | <body> |
michael@0 | 7 | <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=337124">Mozilla Bug 337124</a> |
michael@0 | 8 | |
michael@0 | 9 | <span style="display: table-row-group;"> |
michael@0 | 10 | <input type="text"> |
michael@0 | 11 | </span> |
michael@0 | 12 | <div style="display: table-column-group;"> |
michael@0 | 13 | <script>document.body.offsetHeight;</script> |
michael@0 | 14 | </div><span style="display: table-row-group;"> |
michael@0 | 15 | <input id="i1" type="text"> |
michael@0 | 16 | </span><fieldset id="f1" style="display: table-column-group;"> |
michael@0 | 17 | </fieldset> |
michael@0 | 18 | </fieldset> |
michael@0 | 19 | |
michael@0 | 20 | <pre id="test"> |
michael@0 | 21 | <script class="testbody" type="text/javascript"> |
michael@0 | 22 | var passed = false; |
michael@0 | 23 | if ( document.getElementById("f1").offsetTop > document.getElementById("i1").offsetTop) { |
michael@0 | 24 | passed = true; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | ok(passed, "right layout order"); |
michael@0 | 28 | |
michael@0 | 29 | </script> |
michael@0 | 30 | </pre> |
michael@0 | 31 | </body> |
michael@0 | 32 | </html> |