24 lines
546 B
HTML
24 lines
546 B
HTML
<!DOCTYPE HTML>
|
|
<head>
|
|
<title>This tests that floating box is properly positioned after removing sibling block content.</title>
|
|
<style>
|
|
.floating {
|
|
float: left;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<span>wrap</span><div id=removeThis></div><div class="floating">should not </div>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
setTimeout(function() {
|
|
var ele = document.getElementById("removeThis");
|
|
ele.parentNode.removeChild(ele);
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}, 0);
|
|
</script>
|
|
</body>
|
|
</html>
|