blob: 22b3ce396cef2a2e7488f2c8f37a0b7abb9cea40 [file] [log] [blame]
<html>
<style type="text/css">
.inlineContainer {
position: relative;
display: inline;
}
#positioned {
position: absolute;
top: 100px;
}
</style>
<script type="text/javascript">
if (window.layoutTestController) {
layoutTestController.waitUntilDone();
layoutTestController.dumpAsText();
}
function dumpTest() {
if (window.layoutTestController) {
layoutTestController.notifyDone();
}
}
function runTest() {
document.getElementById('positioned').innerHTML = '2';
document.getElementById('positioned').style.color = 'red';
setTimeout('dumpTest()', 10);
}
setTimeout('runTest()', 0);
</script>
<body>
PASS, if no exception or crash in debug
<div class='inlineContainer'>
<div>div1</div>
<div id='positioned'>div2</div>
</div>
</body>
</html>