1 This test examines the order of the elements attribute of a form element with form-associated elements with form attribute or witout form attibute.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 - Test for the case where some elements have form attribute but some others not.
8 PASS owner.elements.length is 3
9 PASS owner.elements[0] is input1
10 PASS owner.elements[1] is input2
11 PASS owner.elements[2] is input3
12 PASS owner.elements.length is 3
13 PASS owner.elements[0] is input1
14 PASS owner.elements[1] is input2
15 PASS owner.elements[2] is input3
17 - Test for inserting/removing a form-associated element without form attribute.
18 PASS owner.elements.length is 4
19 PASS owner.elements[0] is before
20 PASS owner.elements[1] is inner
21 PASS owner.elements[2] is inner2
22 PASS owner.elements[3] is after
23 PASS owner.elements.length is 4
24 PASS owner.elements[0] is before
25 PASS owner.elements[1] is inner
26 PASS owner.elements[2] is inner2
27 PASS owner.elements[3] is after
29 - Test for inserting/removing a form-associated element with form attribute.
30 PASS owner.elements.length is 6
31 PASS owner.elements[0] is before
32 PASS owner.elements[1] is before2
33 PASS owner.elements[2] is inner
34 PASS owner.elements[3] is inner2
35 PASS owner.elements[4] is after
36 PASS owner.elements[5] is after2
37 PASS owner.elements.length is 6
38 PASS owner.elements[0] is before
39 PASS owner.elements[1] is before2
40 PASS owner.elements[2] is inner
41 PASS owner.elements[3] is inner2
42 PASS owner.elements[4] is after
43 PASS owner.elements[5] is after2
44 PASS successfullyParsed is true