| 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."); | 10 description("This test examines the order of the elements attribute of a form el
ement."); |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 owner.appendChild(inner2); | 152 owner.appendChild(inner2); |
| 153 container.insertBefore(after1, after2); | 153 container.insertBefore(after1, after2); |
| 154 shouldBe('owner.elements.length', '6'); | 154 shouldBe('owner.elements.length', '6'); |
| 155 shouldBe('owner.elements[0]', 'before1'); | 155 shouldBe('owner.elements[0]', 'before1'); |
| 156 shouldBe('owner.elements[1]', 'before2'); | 156 shouldBe('owner.elements[1]', 'before2'); |
| 157 shouldBe('owner.elements[2]', 'inner1'); | 157 shouldBe('owner.elements[2]', 'inner1'); |
| 158 shouldBe('owner.elements[3]', 'inner2'); | 158 shouldBe('owner.elements[3]', 'inner2'); |
| 159 shouldBe('owner.elements[4]', 'after1'); | 159 shouldBe('owner.elements[4]', 'after1'); |
| 160 shouldBe('owner.elements[5]', 'after2'); | 160 shouldBe('owner.elements[5]', 'after2'); |
| 161 </script> | 161 </script> |
| 162 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 163 </body> | 162 </body> |
| 164 </html> | 163 </html> |
| OLD | NEW |