Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / touch / gesture / resources / drag-inside-iframe2.html
blob562531e8b5a0fbf68b30921e0993755cb6603595
1 <html>
2 <body onload="top.runTest()">
3 <div id='mydiv' draggable='true' ondragstart='drag(event)' onmousedown='mousedown(event)' style='width:100px;height:100px;position:absolute;top:0px; left:0px; background-color:blue;'>
4 Drag me</div>
5 <div id='textdiv' ondragstart='textDivDrag(event)' style='position:absolute;top:100px; left:0px; background-color:blue;'>Some text</div>
6 <script type='text/javascript'>
7 function drag(event) {
8 top.onDragStart();
10 function mousedown(event) {
11 top.onMouseDown();
13 function textDivDrag(event) {
14 top.onTextDivDrag();
16 </script>
17 </body>
18 </html>