This tests selecting content starting in an editable element to a shadow tree.
To manually test, select "hello world" below by a mouse drag from "h" to "d". WebKit should only select "hello".

hello
world