Index: third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-link.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-link.html b/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-link.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..77ef8ba3e902baa30cf10ab2fe9a9e55e1254a97 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-link.html |
@@ -0,0 +1,31 @@ |
+<!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> |