<html> 
<head>
<script>
function editingTest() {
    if (window.testRunner)
        testRunner.dumpEditingCallbacks();

    var elem = document.getElementById("test").firstChild;
    var selection = window.getSelection();

    selection.setBaseAndExtent(elem, 9, elem, 14);
}
</script>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=11271</title> 
</head> 
<body>
<div id="test" style="display: table;">Only the third word in this sentence should be selected.</div>
<script>
editingTest();
</script>
</body>
</html>
