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