blob: 8259dc5f2312daaf0d7790c0cfa4230f09ab70e6 [file] [log] [blame]
<html>
<head>
<script>
function editingTest() {
if (window.layoutTestController)
layoutTestController.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>