elements-not-in-document-expected.txt revision eff69b907ef2cd3a9af0351287a929c66f58e3f6
1Test the elements collection when the form is not a descendant of the document. This test case failed in an early version of Acid3. 2 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6PASS i.getAttribute('name') is 'first' 7PASS i.name is 'first' 8PASS i.getAttribute('type') is 'text' 9PASS i.type is 'text' 10PASS i.value is 'test' 11PASS f.elements.length is 1 12PASS f.elements[0] is i 13PASS f.elements.first is i 14PASS f.elements.second is i 15PASS i.getAttribute('name') is 'second' 16PASS i.name is 'second' 17PASS i.getAttribute('type') is 'password' 18PASS i.type is 'password' 19PASS i.value is 'TEST' 20PASS f.elements.length is 1 21PASS f.elements[0] is i 22PASS f.elements.first is undefined 23PASS f.elements.second is i 24PASS successfullyParsed is true 25 26TEST COMPLETE 27 28