summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug597519-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/tests/bug597519-1.html')
-rw-r--r--layout/base/tests/bug597519-1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/base/tests/bug597519-1.html b/layout/base/tests/bug597519-1.html
new file mode 100644
index 0000000000..2fcddce515
--- /dev/null
+++ b/layout/base/tests/bug597519-1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML><html><head>
+ <script src="/tests/SimpleTest/EventUtils.js"></script>
+</head>
+<body>
+<textarea maxlength="3" spellcheck="false" style="-moz-appearance: none"></textarea>
+<script>
+ var t = document.querySelector("textarea");
+ t.focus();
+
+ sendString("ab");
+ synthesizeKey("KEY_Enter");
+ sendString("c");
+</script>
+</body>
+</html>