diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /mobile/android/geckoview/src/androidTest/assets/www/dnd.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/geckoview/src/androidTest/assets/www/dnd.html')
-rw-r--r-- | mobile/android/geckoview/src/androidTest/assets/www/dnd.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mobile/android/geckoview/src/androidTest/assets/www/dnd.html b/mobile/android/geckoview/src/androidTest/assets/www/dnd.html new file mode 100644 index 0000000000..0dc36b4f9a --- /dev/null +++ b/mobile/android/geckoview/src/androidTest/assets/www/dnd.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> + <head> + <meta name="viewport" content="width=device-width,initial-scale=1" /> + <script> + document.addEventListener("DOMContentLoaded", () => + document + .querySelector("#drop") + .addEventListener("dragover", e => e.preventDefault()) + ); + </script> + </head> + <body> + <img + id="drag" + draggable="true" + src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2PwmvDoPwAFoAK895OuoAAAAABJRU5ErkJggg==" + width="200" + height="100" + /> + <br /> + <div id="drop" style="border: 1px solid red; width: 200px; height: 100px"> + drop + </div> + <textarea id="textarea" style="width: 200px; height: 100px"></textarea> + </body> +</html> |