Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-dragged-link.html

Issue 2441023003: Align drag feedback for links with draggable="true" to Safari. (Closed)
Patch Set: Rebased, added dependency on CL that fixes testing logistical issue. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-link.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-dragged-link.html
diff --git a/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-dragged-link.html b/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-dragged-link.html
new file mode 100644
index 0000000000000000000000000000000000000000..373441db2a949087da7db842684e1580477c70c3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-dragged-link.html
@@ -0,0 +1,32 @@
+<!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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dnd/link-dragging-draggable-div-with-link.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698