summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/autofocus/input-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/reftests/autofocus/input-ref.html')
-rw-r--r--dom/html/reftests/autofocus/input-ref.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/html/reftests/autofocus/input-ref.html b/dom/html/reftests/autofocus/input-ref.html
new file mode 100644
index 0000000000..6e2e546d24
--- /dev/null
+++ b/dom/html/reftests/autofocus/input-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body onload="document.getElementsByTagName('input')[1].focus();">
+ <input><input onfocus="document.documentElement.removeAttribute('class');"><input>
+ </body>
+</html>