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

Side by Side 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: Attempted to address feedback. 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/ahem.js"></script>
3 <link rel="stylesheet" href="resources/link-dragging-common.css" />
4 <script src="../../resources/testharness.js"></script>
5 <script src="../../resources/testharnessreport.js"></script>
6 <script src="resources/link-dragging-common.js"></script>
7
8 <p>
9 Please drag the "Drag Me" text into the "Drop Here" rectangle.
10 </p>
11
12 <article>
13 <div class="box" draggable="true">
14 <a class="dragged" href="https://www.chromium.org">
15 Drag Me - drag the text, not the box
16 </a>
17 </div>
18 <div class="dropzone box">
19 Drop Here
20 </div>
21 </article>
22
23 <script>
24
25 promise_test((t) => {
26 return runLinkDraggingTest(t, {
dcheng 2016/10/31 22:31:34 Nit: it's useful to document the expected result h
pwnall 2016/11/04 23:08:29 Done. Good point! All the tests drag the element w
27 dragStartUriList: 'https://www.chromium.org/',
28 dragStartTypes: ['text/html', 'text/plain', 'text/uri-list'],
29 });
30 }, 'Link inside div with draggable="true"');
31
32 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698