summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug1611661-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/tests/bug1611661-ref.html')
-rw-r--r--layout/base/tests/bug1611661-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/base/tests/bug1611661-ref.html b/layout/base/tests/bug1611661-ref.html
new file mode 100644
index 0000000000..5c9d2d674e
--- /dev/null
+++ b/layout/base/tests/bug1611661-ref.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html class="reftest-wait">
+<title>Test reference</title>
+<script src="/tests/SimpleTest/EventUtils.js"></script>
+<script src="/tests/SimpleTest/SimpleTest.js"></script>
+<div>
+ <input type="number" value="33">
+</div>
+<script>
+SimpleTest.waitForFocus(function() {
+ document.querySelector('input').focus();
+ requestAnimationFrame(function() {
+ // Move after the 3
+ synthesizeKey("KEY_ArrowRight");
+ document.documentElement.className = "";
+ });
+});
+</script>