OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description("This test examines the order of the elements attribute of a form el
ement with form-associated elements with form attribute or witout form attibute.
"); | 10 description("This test examines the order of the elements attribute of a form el
ement with form-associated elements with form attribute or witout form attibute.
"); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 container.insertBefore(before, before2); | 97 container.insertBefore(before, before2); |
98 container.insertBefore(after, after2); | 98 container.insertBefore(after, after2); |
99 shouldBe('owner.elements.length', '6'); | 99 shouldBe('owner.elements.length', '6'); |
100 shouldBe('owner.elements[0]', 'before'); | 100 shouldBe('owner.elements[0]', 'before'); |
101 shouldBe('owner.elements[1]', 'before2'); | 101 shouldBe('owner.elements[1]', 'before2'); |
102 shouldBe('owner.elements[2]', 'inner'); | 102 shouldBe('owner.elements[2]', 'inner'); |
103 shouldBe('owner.elements[3]', 'inner2'); | 103 shouldBe('owner.elements[3]', 'inner2'); |
104 shouldBe('owner.elements[4]', 'after'); | 104 shouldBe('owner.elements[4]', 'after'); |
105 shouldBe('owner.elements[5]', 'after2'); | 105 shouldBe('owner.elements[5]', 'after2'); |
106 </script> | 106 </script> |
107 <script src="../../fast/js/resources/js-test-post.js"></script> | |
108 </body> | 107 </body> |
109 </html> | 108 </html> |
OLD | NEW |