Backed out 5 changesets (bug 1694229) for geckoview failures. CLOSED TREE
[gecko.git] / testing / web-platform / tests / html / editing / dnd / platform / drag-to-title.html
blobfee1299b838c89ec33d02d25d4d728e72c0e0429
1 <!doctype html>
2 <title>Dropping onto the title bar and UI</title>
3 <script type="text/javascript">
4 window.onload = function () {
5 document.getElementsByTagName('ul')[0].ondragstart = function () {
6 e.dataTransfer.effectAllowed = 'copy';
7 e.dataTransfer.setData('text','c');
8 };
9 };
10 </script>
11 <ul draggable="true">
12 <li>Drag this text upwards to the browser window's title bar.</li>
13 <li>Release the drag. Fail if the drag placeholder does not disappear.</li>
14 <li>Start dragging again over a blank part of the page (below the text). Fail if the placeholder starts following the mouse again.</li>
15 <li>Release the drag over the browser's UI (e.g. the address bar). Fail if the browser crashes.</li>
16 </ul>