| 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 <script> | 9 <script> |
| 10 description('Tests for HTMLTextAreaElement.maxLength behaviors.'); | 10 description('Tests for HTMLTextAreaElement.maxLength behaviors.'); |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 textArea.value = ''; | 154 textArea.value = ''; |
| 155 document.execCommand('insertText', false, 'ABC'); | 155 document.execCommand('insertText', false, 'ABC'); |
| 156 shouldBe('textArea.value', '"ABC"'); | 156 shouldBe('textArea.value', '"ABC"'); |
| 157 | 157 |
| 158 // In the case maxlength='invalid' | 158 // In the case maxlength='invalid' |
| 159 createFocusedTextAreaWithMaxLength('invalid'); | 159 createFocusedTextAreaWithMaxLength('invalid'); |
| 160 textArea.value = ''; | 160 textArea.value = ''; |
| 161 document.execCommand('insertText', false, 'ABC'); | 161 document.execCommand('insertText', false, 'ABC'); |
| 162 shouldBe('textArea.value', '"ABC"'); | 162 shouldBe('textArea.value', '"ABC"'); |
| 163 </script> | 163 </script> |
| 164 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 165 </body> | 164 </body> |
| 166 </html> | 165 </html> |
| OLD | NEW |