summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/text/select-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/text/select-ref.html')
-rw-r--r--layout/reftests/forms/input/text/select-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/text/select-ref.html b/layout/reftests/forms/input/text/select-ref.html
new file mode 100644
index 000000000..added237c
--- /dev/null
+++ b/layout/reftests/forms/input/text/select-ref.html
@@ -0,0 +1,18 @@
+<html class="reftest-wait">
+ <head>
+ <script type="text/javascript">
+ function finishTest() {
+ document.documentElement.removeAttribute("class");
+ }
+ function runTest() {
+ var field = document.getElementById('field');
+ field.focus();
+ field.select();
+ setTimeout(finishTest, 0);
+ }
+ </script>
+ </head>
+ <body onload="runTest()">
+ <input id="field" type="text" value="1234">
+ </body>
+</html>