diff options
Diffstat (limited to 'tests/focus-button-osk-javascript.html')
-rw-r--r-- | tests/focus-button-osk-javascript.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/focus-button-osk-javascript.html b/tests/focus-button-osk-javascript.html new file mode 100644 index 0000000..3b3519b --- /dev/null +++ b/tests/focus-button-osk-javascript.html @@ -0,0 +1,19 @@ +<!DOCTYPE HTML> +<html> + <head> + <meta http-equiv="Content-type" content="text/html; charset=utf-8"> + <title>Focus OSK test case</title> + </head> + <body> + + <p>This page will be loaded without focusing anything and after clicking + the "Click me!" button the focus will be taken to the input field and + OSK should appear</p> + + <form action="." name="f" target="_top"> + <input maxlength=2048 name="q" value="" style="height: 200px; width: 500px;"/> + <input type="button" value="Click me!" style="height: 200px; width: 200px;" onclick="javascript: document.f.q.focus()" /> + </form> +</body> +</html> + |