diff options
Diffstat (limited to 'testing/web-platform/tests/html/editing/dnd/file/006.html')
-rw-r--r-- | testing/web-platform/tests/html/editing/dnd/file/006.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/editing/dnd/file/006.html b/testing/web-platform/tests/html/editing/dnd/file/006.html new file mode 100644 index 000000000..58d651870 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/file/006.html @@ -0,0 +1,13 @@ +<!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> |