Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / select_range_scroll.html
blobefa98a9d6f3f3b6997927825a2918f989208c7b3
1 <!DOCTYPE html>
2 <html id='root'>
3 <body>
4 <div style='height:3000px'>
5 <span id="target">Some offscreen test text for testing.</span>
6 </div>
7 <script>
8 var range = document.createRange();
9 range.selectNode(document.getElementById('target'));
10 window.getSelection().addRange(range);
11 window.scrollBy(0,500);
12 </script>
13 </body>
14 </html>