Index: LayoutTests/fast/forms/selection-start-end-readonly.html |
diff --git a/LayoutTests/fast/forms/selection-start-end-readonly.html b/LayoutTests/fast/forms/selection-start-end-readonly.html |
index 84663c7083403fc13b4bc0f45b672ac191700cbc..5f90790c492fad79d2e567e7d60b1b9a58d63190 100644 |
--- a/LayoutTests/fast/forms/selection-start-end-readonly.html |
+++ b/LayoutTests/fast/forms/selection-start-end-readonly.html |
@@ -16,7 +16,7 @@ description('Tests for selectionStart and selectionEnd on read-only INPUT and TE |
function startTest(element, start, end) { |
element.setSelectionRange(start, end); |
- start = start < 0 ? 0 : start; |
+ start = start < 0 ? end : start; |
end = end > 10 ? 10 : end; |
start = start > end ? end : start; |