Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / move_range_selection_extent.html
blob3e72527b96225f4b322ef2632cda725282142a97
1 <!DOCTYPE html>
2 <html id='root'>
3 <body>
4 <span id='target'>16-char header. This text is initially selected. 16-char footer.</span>
5 <script>
6 function select() {
7 var text = document.getElementById('target').firstChild;
8 var range = document.createRange();
9 range.setStart(text, 16);
10 range.setEnd(text, 48);
11 window.getSelection().addRange(range);
13 window.onload = select;
14 </script>
15 </body>
16 </html>