summaryrefslogtreecommitdiffstats
path: root/editor/reftests/caret_after_reframe.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editor/reftests/caret_after_reframe.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/editor/reftests/caret_after_reframe.html b/editor/reftests/caret_after_reframe.html
new file mode 100644
index 0000000000..5e9c0f1330
--- /dev/null
+++ b/editor/reftests/caret_after_reframe.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <body>
+ <input onfocus="focused()" autofocus>
+ <script>
+ function focused() {
+ var i = document.querySelector("input");
+ i.style.display = "block";
+ document.offsetWidth;
+ document.documentElement.removeAttribute("class");
+ }
+ </script>
+ </body>
+</html>