<!DOCTYPE html>
<html>
<head>
<style>
    ol {
	    margin: 0px;
    }

    .float {
        float: left;
        width: 100px;
	    height: 100px;
    }
</style>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
</head>
<body>
    <ol><li>Pass if no crash or assert in debug.</li></ol>
    <div class=float>bar</div>
    <script>
        document.designMode = "on";
        document.execCommand("SelectAll");
    </script>
</body>
</html>