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="../../resources/js-test.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 a form element can handle elements of which form a
ttribute points the form element even if elements are outside of the form."); | 10 description("This test checks a form element can handle elements of which form a
ttribute points the form element even if elements are outside of the form."); |
11 | 11 |
12 if (window.testRunner) | 12 if (window.testRunner) |
13 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
14 | 14 |
(...skipping 28 matching lines...) Expand all Loading... |
43 shouldBe('pairs.length', '3'); | 43 shouldBe('pairs.length', '3'); |
44 shouldBeEqualToString('pairs[0]', 'key1=value1'); | 44 shouldBeEqualToString('pairs[0]', 'key1=value1'); |
45 shouldBeEqualToString('pairs[1]', 'key2=value2'); | 45 shouldBeEqualToString('pairs[1]', 'key2=value2'); |
46 shouldBeEqualToString('pairs[2]', 'submitted=true'); | 46 shouldBeEqualToString('pairs[2]', 'submitted=true'); |
47 if (window.testRunner) | 47 if (window.testRunner) |
48 testRunner.notifyDone(); | 48 testRunner.notifyDone(); |
49 } | 49 } |
50 </script> | 50 </script> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |