| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <p>This tests selecting content starting in the document into a shadow tree.<br> | |
| To manually test, select "hello world" below by a mouse drag. WebKit should select the phrase.</p> | |
| <div id="container">hello <div>world</div></div> | |
| <script> | |
| getSelection().selectAllChildren(container); | |
| </script> | |
| </body> | |
| </html> |