Index: LayoutTests/fast/forms/month/month-setrangetext-expected.txt |
diff --git a/LayoutTests/fast/forms/month/month-setrangetext-expected.txt b/LayoutTests/fast/forms/month/month-setrangetext-expected.txt |
index b07bbd9b24dd31e762d60fb4371859bd15afb9d1..65dad1c86ba6e54f2ca68b23175c7edcd11e0008 100644 |
--- a/LayoutTests/fast/forms/month/month-setrangetext-expected.txt |
+++ b/LayoutTests/fast/forms/month/month-setrangetext-expected.txt |
@@ -1,4 +1,4 @@ |
-Test setRangeText() method is not available in month inputs. |
+Test setRangeText() on month inputs. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
@@ -6,9 +6,11 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
Running tests on input with attributes: {"type":"month"} |
-element.value = '0123456789XYZ' |
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('month') does not support selection.. |
+element.value = '0123456789' |
+element.setSelectionRange(2, 5) |
+element.setRangeText('432') |
PASS element.value is "" |
+PASS element.value is not 0143256789 |
PASS successfullyParsed is true |
TEST COMPLETE |