summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/placeholder/placeholder-blank-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/placeholder/placeholder-blank-ref.html')
-rw-r--r--layout/reftests/forms/placeholder/placeholder-blank-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/forms/placeholder/placeholder-blank-ref.html b/layout/reftests/forms/placeholder/placeholder-blank-ref.html
new file mode 100644
index 000000000..115ffac79
--- /dev/null
+++ b/layout/reftests/forms/placeholder/placeholder-blank-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <script type="text/javascript">
+ function focusInput()
+ {
+ document.getElementById('t1').focus();
+ }
+ function disableReftestWait()
+ {
+ document.documentElement.className = '';
+ }
+ </script>
+ <body onload="focusInput();">
+ <input id='t1' type="text" onfocus="disableReftestWait();">
+ </body>
+</html>