blob: c9574a4c471c7e6accebadf89beeddb992fc2e8c [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p>This tests selecting content starting in an editable region in a shadow tree to an editable region in the document tree.<br>
To manually test, select "hello world" below by a mouse drag from "h" to "d". WebKit should only select "hello".</p>
<div id="container"><div contenteditable>hello</div> world</div>
<script>
container.focus();
getSelection().selectAllChildren(container.firstChild);
</script>
</body>
</html>