| <!DOCTYPE html> |
| <link rel="stylesheet" href="resources/link-dragging-common.css" /> |
| <script src="../../resources/testharness.js"></script> |
| <script src="../../resources/testharnessreport.js"></script> |
| <script src="resources/link-dragging-common.js"></script> |
| |
| <p> |
| Please drag the leftmost box into the "Drop Here" box. |
| </p> |
| |
| <article> |
| <div class="dragged box" draggable="true"> |
| <a href="https://www.chromium.org"> |
| Drag the box, not the text |
| </a> |
| </div> |
| <div class="dropzone box"> |
| Drop Here |
| </div> |
| </article> |
| |
| <script> |
| |
| promise_test((t) => { |
| return runLinkDraggingTest(t, { |
| dragStartUriList: '', |
| dragStartTypes: [], |
| }); |
| }, 'Dragging a div with draggable="true" with a link inside of it'); |
| |
| </script> |