3 if (layoutTestController)
4 layoutTestController.dumpAsText();
8 document.body.offsetTop;
9 var s = document.getElementById("target").style;
10 s.setProperty("position", "fixed");
11 document.body.offsetTop;
12 s.setProperty("overflow", "hidden");
13 s.setProperty("height", "0");
14 s.setProperty("width", "0");
15 document.body.offsetTop;
16 s.setProperty("display", "none");
20 <body onload="test()">
22 Test for <i><a href="rdar://problem/7094146">rdar://problem/7094146</a>
23 Reproducible crash at RenderObject::localToAbsolute()</i>.
26 This crash occurred after an object’s position changed directly
27 from absolute to fixed, and it was not added to the RenderView’s
28 positioned objects list nor removed from its old container’s list.
30 <div style="position: relative;">
31 <div id="target" style="top: 50px; position: absolute;">
32 <div style="height: 50px; width: 50px; background-color: red;"></div>