Index: LayoutTests/fast/forms/long-text-in-input.html |
diff --git a/LayoutTests/fast/forms/long-text-in-input.html b/LayoutTests/fast/forms/long-text-in-input.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..612b64b9aa060374455f3d982284004b01b7b8fa |
--- /dev/null |
+++ b/LayoutTests/fast/forms/long-text-in-input.html |
@@ -0,0 +1,14 @@ |
+<body> |
+ Passes if you see PASS in the text field below:<br> |
+ <input dir=rtl id=inp size=3><!-- Hide blinking caret --><div style="display:inline-block;background:white; width:20px;height:2em;margin-left:-4px;vertical-align:middle"></div> |
+ <script> |
+ var text="Start of dummy text-" |
+ while (text.length <= 65536) |
+ { |
+ text += text.length; |
+ text += "abcdefghijklmn pqrstuvwxyz" |
+ } |
+ text += "-----PASS" |
+ elm = document.getElementById("inp"); |
+ elm.value = text; |
+ </script></body></html> |