blob: d25c5491e43d14d689406e8666e0e9241d9c529b [file] [log] [blame]
<!DOCTYPE html>
<title>drag &amp; drop - cancelling dragging text onto a file input</title>
<ol>
<li>Save <a href="../resources/filler.html">this file</a> to your computer.</li>
<li>Write the full /path/and/name to that file, into the first input below, then select all of the text you just entered.</li>
<li>Drag selected text to the file input. If no prompt appears, and the text is not added to the file input, pass and ignore further steps.</li>
<li>If a prompt appears, refuse it. Fail if the file input's value is set without any prompts.</li>
<li>If a prompt appears; fail if the file input's value is set after refusing the prompt.</li>
</ol>
<p><input value="/tmp/filler.html"></p>
<p><input type="file"></p>
<noscript><p>Enable JavaScript and reload</p></noscript>