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

world