mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
14 lines
781 B
HTML
14 lines
781 B
HTML
<!DOCTYPE html>
|
|
<title>drag & 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>
|