diff options
Diffstat (limited to '')
-rw-r--r-- | layout/base/tests/bug646382-1-ref.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/base/tests/bug646382-1-ref.html b/layout/base/tests/bug646382-1-ref.html new file mode 100644 index 0000000000..e9d37339e4 --- /dev/null +++ b/layout/base/tests/bug646382-1-ref.html @@ -0,0 +1,21 @@ +<html class="reftest-wait"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + </head> + <body onload="start()"> + <textarea onfocus="done()" + style="-moz-appearance: none; + unicode-bidi: bidi-override;">س</textarea> + <script> + var textarea = document.querySelector("textarea"); + function start() { + textarea.focus(); + textarea.selectionStart = 1; // place caret after the letter + textarea.selectionEnd = 1; + } + function done() { + document.documentElement.removeAttribute("class"); + } + </script> + </body> +</html> |