OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <meta charset="utf-8"> |
| 3 <title>Drag and Drop: interaction between effectAllowed and dropEffect</title> |
| 4 <link rel="help" href="https://html.spec.whatwg.org/multipage/interaction.html#d
rag-and-drop-processing-model"> |
| 5 <script src="../../resources/testharness.js"></script> |
| 6 <script src="../../resources/testharnessreport.js"></script> |
| 7 <script src="resources/dropEffect-common.js"></script> |
| 8 <style> |
| 9 .box { |
| 10 display: block; |
| 11 border: 1px solid black; |
| 12 width: 100px; |
| 13 height: 100px; |
| 14 } |
| 15 </style> |
| 16 |
| 17 <p> |
| 18 Please download <a download href="resources/dragged-file.txt">this file</a>, |
| 19 and drag it into the box below, then click the "Done" button. Repeat this |
| 20 action until the test completes. |
| 21 </p> |
| 22 |
| 23 <div class="dropzone box"> |
| 24 Drop Here |
| 25 </div> |
| 26 |
| 27 <p> |
| 28 <button class="done">Done</button> |
| 29 </p> |
| 30 |
| 31 <p> |
| 32 Current test: <code id="test-description"></code> |
| 33 </p> |
| 34 |
| 35 <script> |
| 36 |
| 37 dropEffectTests([ |
| 38 { drop: 'copy', operation: 'none' }, |
| 39 { drop: 'link' }, |
| 40 { drop: 'move' }, |
| 41 { drop: 'none' }, |
| 42 { drop: 'dummy', operation: 'none' }, |
| 43 ]); |
| 44 |
| 45 </script> |
OLD | NEW |