Index: third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-link.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-link.html b/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-link.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cb46bcdc4191dafb0dd447ed2703c6868ff94b15 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-link.html |
@@ -0,0 +1,29 @@ |
+<!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 attempt to drag the "Drag Me" text into the "Drop Here" box. |
+</p> |
+ |
+<article> |
+ <a class="dragged box" draggable="true" href="https://www.chromium.org"> |
+ Drag Me |
+ </a> |
+ <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 with draggable="true"'); |
+ |
+</script> |