| 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 <title>required and basic valueMissing 2</title> | 4 <title>required and basic valueMissing 2</title> |
| 5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 <div id=parent> | 10 <div id=parent> |
| 11 <input id="input" name="victim" value="something" required/> | 11 <input id="input" name="victim" value="something" required/> |
| 12 <textarea id="textarea" name="victim" required>something</textarea> | 12 <textarea id="textarea" name="victim" required>something</textarea> |
| 13 <select id="select-with-placeholder" name="victim" required> | 13 <select id="select-with-placeholder" name="victim" required> |
| 14 <option value="" /> | 14 <option value="" /> |
| 15 <option value="X" selected>X</option> | 15 <option value="X" selected>X</option> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 shouldBe('select.value', '"a"'); | 94 shouldBe('select.value', '"a"'); |
| 95 shouldBeFalse('valueMissingFor("select-selecting-by-key-2")'); | 95 shouldBeFalse('valueMissingFor("select-selecting-by-key-2")'); |
| 96 } else { | 96 } else { |
| 97 debug('There are tests using eventSender.'); | 97 debug('There are tests using eventSender.'); |
| 98 } | 98 } |
| 99 | 99 |
| 100 document.body.removeChild(document.getElementById('parent')); | 100 document.body.removeChild(document.getElementById('parent')); |
| 101 </script> | 101 </script> |
| 102 </body> | 102 </body> |
| 103 </html> | 103 </html> |
| OLD | NEW |