blob: 6cdd9d351b23a7e0dbd00689aa023c0383327189 [file] [log] [blame]
Test setRangeText() method is not available in image inputs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Running tests on input with attributes: {"type":"image"}
element.value = '0123456789XYZ'
PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('image') does not support selection..
PASS element.value is "0123456789XYZ"
PASS successfullyParsed is true
TEST COMPLETE