OLD | NEW |
---|---|
(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> | |
OLD | NEW |