Index: LayoutTests/fast/forms/validationMessage.html |
diff --git a/LayoutTests/fast/forms/validationMessage.html b/LayoutTests/fast/forms/validationMessage.html |
index 76ba3f0ad9d8fd3dd3a462bf82620c804da41ceb..68b4fe3aef5bd391419e0e96303667f4f8466dd2 100644 |
--- a/LayoutTests/fast/forms/validationMessage.html |
+++ b/LayoutTests/fast/forms/validationMessage.html |
@@ -104,6 +104,7 @@ inputWithMax.maxLength = 3; |
inputWithMax.value = "abcdef"; |
document.body.appendChild(inputWithMax); |
inputWithMax.focus(); |
+inputWithMax.setSelectionRange(6, 6); |
document.execCommand("delete"); |
debug("input tooLong: " + inputWithMax.validationMessage); |
// fancyX should be treated as 3 characters. |