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 performs some simple check on the formnovalidate attribut
e."); | 10 description("This test performs some simple check on the formnovalidate attribut
e."); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 shouldBe("b.getAttribute('formNoValidate')", "null"); | 42 shouldBe("b.getAttribute('formNoValidate')", "null"); |
43 shouldBe("b.formNoValidate", "false"); | 43 shouldBe("b.formNoValidate", "false"); |
44 | 44 |
45 i2.formNoValidate = false; | 45 i2.formNoValidate = false; |
46 shouldBe("i2.formNoValidate", "false"); | 46 shouldBe("i2.formNoValidate", "false"); |
47 i2.formNoValidate = "something"; | 47 i2.formNoValidate = "something"; |
48 shouldBe("i2.hasAttribute('formNoValidate')", "true"); | 48 shouldBe("i2.hasAttribute('formNoValidate')", "true"); |
49 shouldBe("i2.getAttribute('formNoValidate')", "''"); | 49 shouldBe("i2.getAttribute('formNoValidate')", "''"); |
50 shouldBe("i2.formNoValidate", "true"); | 50 shouldBe("i2.formNoValidate", "true"); |
51 </script> | 51 </script> |
52 <script src="../../fast/js/resources/js-test-post.js"></script> | |
53 </body> | 52 </body> |
54 </html> | 53 </html> |
OLD | NEW |