| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.internals) | 5 if (window.internals) |
| 6 internals.settings.setLangAttributeAwareFormControlUIEnabled(true); | 6 internals.settings.setLangAttributeAwareFormControlUIEnabled(true); |
| 7 else | 7 else |
| 8 debug('Require DRT/WRT.'); | 8 debug('Require DRT/WRT.'); |
| 9 </script> | 9 </script> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 var englishInput = document.getElementById('input-en'); | 37 var englishInput = document.getElementById('input-en'); |
| 38 englishInput.focus(); | 38 englishInput.focus(); |
| 39 shouldBeEqualToString('document.execCommand("InsertText", false, "1234"); englis
hInput.value', '1234'); | 39 shouldBeEqualToString('document.execCommand("InsertText", false, "1234"); englis
hInput.value', '1234'); |
| 40 englishInput.value = ''; | 40 englishInput.value = ''; |
| 41 shouldBeEqualToString('document.execCommand("InsertText", false, "1.234"); engli
shInput.value', '1.234'); | 41 shouldBeEqualToString('document.execCommand("InsertText", false, "1.234"); engli
shInput.value', '1.234'); |
| 42 englishInput.value = ''; | 42 englishInput.value = ''; |
| 43 shouldBeEqualToString('document.execCommand("InsertText", false, "1,234"); engli
shInput.value', ''); | 43 shouldBeEqualToString('document.execCommand("InsertText", false, "1,234"); engli
shInput.value', ''); |
| 44 | 44 |
| 45 | 45 |
| 46 </script> | 46 </script> |
| 47 <script src="../../js/resources/js-test-post.js"></script> | |
| 48 </body> | 47 </body> |
| OLD | NEW |