chromium/third_party/blink/web_tests/editing/selection/display-table-text.html

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

    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>