| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 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 <script> | 7 <script> |
| 8 description('Tests the behavior of .inputMode of HTMLInputElement.'); | 8 description('Tests the behavior of .inputMode of HTMLInputElement.'); |
| 9 | 9 |
| 10 var input = document.createElement('input'); | 10 var input = document.createElement('input'); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 // Non-string. | 42 // Non-string. |
| 43 debug('Setting non-string to inputMode:'); | 43 debug('Setting non-string to inputMode:'); |
| 44 input.inputMode = 256; | 44 input.inputMode = 256; |
| 45 shouldBe('input.inputMode', '"256"'); | 45 shouldBe('input.inputMode', '"256"'); |
| 46 shouldBe('input.getAttribute("inputmode")', '"256"'); | 46 shouldBe('input.getAttribute("inputmode")', '"256"'); |
| 47 input.setAttribute('inputmode', 256); | 47 input.setAttribute('inputmode', 256); |
| 48 shouldBe('input.inputMode', '"256"'); | 48 shouldBe('input.inputMode', '"256"'); |
| 49 | 49 |
| 50 </script> | 50 </script> |
| 51 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 52 </body> | 51 </body> |
| 53 </html> | 52 </html> |
| OLD | NEW |