summaryrefslogtreecommitdiff
path: root/dom/html/reftests/autofocus/select-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/reftests/autofocus/select-ref.html')
-rw-r--r--dom/html/reftests/autofocus/select-ref.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/html/reftests/autofocus/select-ref.html b/dom/html/reftests/autofocus/select-ref.html
new file mode 100644
index 0000000000..7fa9cd6559
--- /dev/null
+++ b/dom/html/reftests/autofocus/select-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('select')[1].focus();">
+ <select></select><select onfocus="document.documentElement.removeAttribute('class');"></select><select></select>
+ </body>
+</html>