| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../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('Test HTMLInputElement::valueAsDate binding.'); | 10 description('Test HTMLInputElement::valueAsDate binding.'); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 input.value = '1970-01'; | 40 input.value = '1970-01'; |
| 41 input.valueAsDate = null; | 41 input.valueAsDate = null; |
| 42 shouldBe('input.value', '""'); | 42 shouldBe('input.value', '""'); |
| 43 input.value = '1970-01'; | 43 input.value = '1970-01'; |
| 44 input.valueAsDate = undefined; | 44 input.valueAsDate = undefined; |
| 45 shouldBe('input.value', '""'); | 45 shouldBe('input.value', '""'); |
| 46 input.value = '1970-01'; | 46 input.value = '1970-01'; |
| 47 input.valueAsDate = document; | 47 input.valueAsDate = document; |
| 48 shouldBe('input.value', '""'); | 48 shouldBe('input.value', '""'); |
| 49 </script> | 49 </script> |
| 50 <script src="../../js/resources/js-test-post.js"></script> | |
| 51 </body> | 50 </body> |
| 52 </html> | 51 </html> |
| OLD | NEW |