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