summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/default-style/input-focus-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ui-invalid/default-style/input-focus-ref.html')
-rw-r--r--layout/reftests/css-ui-invalid/default-style/input-focus-ref.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-invalid/default-style/input-focus-ref.html b/layout/reftests/css-ui-invalid/default-style/input-focus-ref.html
new file mode 100644
index 000000000..1180844f6
--- /dev/null
+++ b/layout/reftests/css-ui-invalid/default-style/input-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('input')[0].focus();">
+ <input class='invalid-ref' onfocus="document.documentElement.className='';">
+ </body>
+</html>