summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/file/005.html
blob: 007d2b20f010a7997f06b664d8992e46e1329699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<title>drag &amp; drop - 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, accept 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 not set after accepting the prompt.</li>
</ol>
<p><input value="/tmp/filler.html"></p>
<p><input type="file"></p>
<noscript><p>Enable JavaScript and reload</p></noscript>