haikuwebkit/LayoutTests/fast/forms/radionodelist-image-type-ex...

12 lines
442 B
Plaintext

RadioNodeList should respond to type attribute change.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Initially, there are three input elements with type=text.
nodeList = form.elements.namedItem('someName');
PASS nodeList.length is 3
PASS document.getElementsByTagName('input')[2].type = 'image'; nodeList.length is 2
PASS document.getElementsByTagName('input')[2].type = 'radio'; nodeList.length is 3