<!doctype html>
<script src="../../resources/ahem.js"></script>
<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 "Drag Me" text into the "Drop Here" rectangle.
</p>
<article>
<div class="box" draggable="true">
<a class="dragged" href="https://www.chromium.org">
Drag Me - drag the text, not the box
</a>
</div>
<div class="dropzone box">
Drop Here
</div>
</article>
<script>
promise_test((t) => {
return runLinkDraggingTest(t, {
dragStartUriList: 'https://www.chromium.org/',
dragStartTypes: ['text/html', 'text/plain', 'text/uri-list'],
});
}, 'Dragging a link inside a div with draggable="true"');
</script>