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 | 9 |
10 <input id="input" disabled required /> | 10 <input id="input" disabled required /> |
11 | 11 |
12 <script> | 12 <script> |
13 description('Test if changing disabled updates checkValidity.'); | 13 description('Test if changing disabled updates checkValidity.'); |
14 | 14 |
15 var input = document.getElementById('input'); | 15 var input = document.getElementById('input'); |
16 input.value = ""; | 16 input.value = ""; |
17 input.disabled = false; | 17 input.disabled = false; |
18 shouldBeFalse('input.checkValidity()'); | 18 shouldBeFalse('input.checkValidity()'); |
19 | 19 |
20 </script> | 20 </script> |
21 <script src="../../fast/js/resources/js-test-post.js"></script> | |
22 </body> | 21 </body> |
23 </html> | 22 </html> |
OLD | NEW |