| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 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">This test ensures WebKit returns correct values for HTMLInpu
tElement.lastChangeWasUserEdit and | 7 <p id="description">This test ensures WebKit returns correct values for HTMLInpu
tElement.lastChangeWasUserEdit and |
| 8 HTMLTextAreaElement.lastChangeWasUserEdit, which are exposed via WebKit API.</p> | 8 HTMLTextAreaElement.lastChangeWasUserEdit, which are exposed via WebKit API.</p> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 <input type="text"><textarea></textarea> | 10 <input type="text"><textarea></textarea> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 shouldBeFalse('textField.innerText = " WebKit "; internals.wasLastChange
UserEdit(textField)'); | 46 shouldBeFalse('textField.innerText = " WebKit "; internals.wasLastChange
UserEdit(textField)'); |
| 47 } | 47 } |
| 48 | 48 |
| 49 textField.parentNode.removeChild(textField); | 49 textField.parentNode.removeChild(textField); |
| 50 } | 50 } |
| 51 | 51 |
| 52 runTest(document.getElementsByTagName('input')[0]); | 52 runTest(document.getElementsByTagName('input')[0]); |
| 53 runTest(document.getElementsByTagName('textarea')[0]); | 53 runTest(document.getElementsByTagName('textarea')[0]); |
| 54 | 54 |
| 55 </script> | 55 </script> |
| 56 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 57 </body> | 56 </body> |
| 58 </html> | 57 </html> |
| OLD | NEW |