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