Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / select_range_basic.html
bloba12fa02de9f1cdb78c919f544c9ed9b9408c8241
1 <!DOCTYPE html>
2 <html id='root'>
3 <body>
4 Some extra text.
5 <span id='target'>Some test text for testing.</span>
6 Some extra text.
7 <script>
8 function select() {
9 var range = document.createRange();
10 range.selectNode(document.getElementById('target'));
11 window.getSelection().addRange(range);
13 window.onload = select;
14 </script>
15 </body>
16 </html>