OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/ahem.js"></script> |
| 3 <link rel="stylesheet" href="resources/link-dragging-common.css" /> |
| 4 <script src="../../resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> |
| 6 <script src="resources/link-dragging-common.js"></script> |
| 7 |
| 8 <p> |
| 9 Please drag the "Drag Me" text into the "Drop Here" rectangle. |
| 10 </p> |
| 11 |
| 12 <article> |
| 13 <div class="box" draggable="true"> |
| 14 <a class="dragged" href="https://www.chromium.org"> |
| 15 Drag Me - drag the text, not the box |
| 16 </a> |
| 17 </div> |
| 18 <div class="dropzone box"> |
| 19 Drop Here |
| 20 </div> |
| 21 </article> |
| 22 |
| 23 <script> |
| 24 |
| 25 promise_test((t) => { |
| 26 return runLinkDraggingTest(t, { |
| 27 dragStartUriList: 'https://www.chromium.org/', |
| 28 dragStartTypes: ['text/html', 'text/plain', 'text/uri-list'], |
| 29 }); |
| 30 }, 'Dragging a link inside a div with draggable="true"'); |
| 31 |
| 32 </script> |
OLD | NEW |