blob: efff84d76b46bdafc6610f20bff48eddd5d4306c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that float is positioned properly when it is next to an anonymous block.</title>
</head>
<body>
<span>foo</span>
<div id="float">bar</div>
<div></div>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
setTimeout(function() {
document.getElementById("float").style.float = "right";
if (window.testRunner)
testRunner.notifyDone();
}, 0);
</script>
</body>
</html>