| Index: LayoutTests/fast/forms/color/color-setrangetext-expected.txt
|
| diff --git a/LayoutTests/fast/forms/color/color-setrangetext-expected.txt b/LayoutTests/fast/forms/color/color-setrangetext-expected.txt
|
| index 2c3decedb8a5ba9d39e45446a5eaeadf821023ef..68ef02d5898c56f06b967ce6d774d31833a665c8 100644
|
| --- a/LayoutTests/fast/forms/color/color-setrangetext-expected.txt
|
| +++ b/LayoutTests/fast/forms/color/color-setrangetext-expected.txt
|
| @@ -1,4 +1,4 @@
|
| -Test setRangeText() method is not available in color inputs.
|
| +Test setRangeText() on color 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":"color"}
|
|
|
| -element.value = '0123456789XYZ'
|
| -PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('color') does not support selection..
|
| +element.value = '0123456789'
|
| +element.setSelectionRange(2, 5)
|
| +element.setRangeText('432')
|
| PASS element.value is "#000000"
|
| +PASS element.value is not 0143256789
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|