Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / shadow / selection-across-shadows-expected.html
blobeefc094fd6658a98868b59449bad60cd75ae49e6
1 <!DOCTYPE html>
2 <style>* { font-family: monospace; }</style>
3 <div>[<span id="one">One</span>]</div>
4 <div>[<span id="two">Two</span>]</div>
5 <script>
6 function doDrag(start, end) {
7 if (!window.eventSender)
8 return;
9 eventSender.mouseMoveTo(start.offsetLeft + (start.offsetWidth / 2), start.offsetTop + 3);
10 eventSender.mouseDown();
11 eventSender.mouseMoveTo(end.offsetLeft + (end.offsetWidth / 2), end.offsetTop + 3);
12 eventSender.mouseUp();
14 doDrag(two, one);
15 </script>