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 checks the form attribute of the form-associated elements
."); | 10 description("This test checks the form attribute of the form-associated elements
."); |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 shouldBeEqualToString('owner.name', 'secondOwner'); | 172 shouldBeEqualToString('owner.name', 'secondOwner'); |
173 shouldBe('inputElement.form', 'owner'); | 173 shouldBe('inputElement.form', 'owner'); |
174 shouldBe('labelElement.form', 'owner'); | 174 shouldBe('labelElement.form', 'owner'); |
175 container.removeChild(owner); | 175 container.removeChild(owner); |
176 shouldBe('inputElement.form', 'null'); | 176 shouldBe('inputElement.form', 'null'); |
177 shouldBe('labelElement.form', 'null'); | 177 shouldBe('labelElement.form', 'null'); |
178 container.appendChild(owner); | 178 container.appendChild(owner); |
179 shouldBe('inputElement.form', 'owner'); | 179 shouldBe('inputElement.form', 'owner'); |
180 shouldBe('labelElement.form', 'owner'); | 180 shouldBe('labelElement.form', 'owner'); |
181 </script> | 181 </script> |
182 <script src="../../fast/js/resources/js-test-post.js"></script> | |
183 </body> | 182 </body> |
184 </html> | 183 </html> |
OLD | NEW |