summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/input-password-remask-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/base/tests/input-password-remask-ref.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/base/tests/input-password-remask-ref.html b/layout/base/tests/input-password-remask-ref.html
new file mode 100644
index 0000000000..a7f105a01e
--- /dev/null
+++ b/layout/base/tests/input-password-remask-ref.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<head>
+<script src="/tests/SimpleTest/SimpleTest.js"></script>
+</head>
+<body>
+<input type="password" value="123456">
+<script>
+ function runTest() {
+ let input = document.getElementsByTagName("input")[0];
+ input.focus();
+ input.setSelectionRange(3, 4);
+ document.documentElement.removeAttribute("class");
+ }
+
+ SimpleTest.waitForFocus(runTest);
+</script>
+
+</body>
+</html>