summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/autofocus/input-load.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/reftests/autofocus/input-load.html')
-rw-r--r--dom/html/reftests/autofocus/input-load.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/html/reftests/autofocus/input-load.html b/dom/html/reftests/autofocus/input-load.html
new file mode 100644
index 000000000..d40b49177
--- /dev/null
+++ b/dom/html/reftests/autofocus/input-load.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <script>
+ function focusHandler()
+ {
+ document.documentElement.removeAttribute('class');
+ }
+ </script>
+ <body>
+ <input><input autofocus onfocus="focusHandler();"><input autofocus onfocus="focusHandler();">
+ </body>
+</html>