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