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