3 <script src=
"../../../resources/js-test.js"></script>
6 <p id=
"description"></p>
7 <div id=
"console"></div>
8 <div style=
"position:absolute">
9 <span style=
"position:relative">
10 <div style=
"position:absolute">
16 description("This tests that we don't cause an assertion failure on relayout of nested positioned elements. This test pass if we don't cause an assertion failure.");
17 window
.jsTestIsAsync
= true;
19 window
.setTimeout(runTest
, 0); // For some reason we need the setTimeout() for this test to work.
22 document
.getElementById("hideMe").style
.display
= "none";
23 window
.setTimeout(finalizeTest
, 0);
26 function finalizeTest()
28 shouldBeEqualToString('document.getElementById("hideMe").style.display', 'none');