summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug956530-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/tests/bug956530-1-ref.html')
-rw-r--r--layout/base/tests/bug956530-1-ref.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/base/tests/bug956530-1-ref.html b/layout/base/tests/bug956530-1-ref.html
new file mode 100644
index 000000000..d82c761bf
--- /dev/null
+++ b/layout/base/tests/bug956530-1-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <style>
+ /* eliminate the blue glow when focusing the element. */
+ input {
+ background: none;
+ border: none;
+ outline: none;
+ }
+ </style>
+ <script>
+ function test() {
+ focus();
+ var i = document.querySelector("input");
+ i.focus();
+ }
+ function finish() {
+ setTimeout(function() {
+ document.documentElement.removeAttribute("class");
+ }, 0);
+ }
+ </script>
+ <body onload="setTimeout(test, 0)">
+ <input value="text text text text text"
+ onfocus="this.select(); finish();">
+ </body>
+</html>