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="../../resources/js-test.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 | 9 |
10 <input type="text" size="5" value="12345" maxlength="4" id="input1"> | 10 <input type="text" size="5" value="12345" maxlength="4" id="input1"> |
11 <input type="text" size="5" maxlength="4" value="12345" id="input2"> | 11 <input type="text" size="5" maxlength="4" value="12345" id="input2"> |
12 <input type="text" id="f" size="5" maxlength="4" value="123"> | 12 <input type="text" id="f" size="5" maxlength="4" value="123"> |
13 <input type="text" id="e" size="5" maxlength="4" value="123"> | 13 <input type="text" id="e" size="5" maxlength="4" value="123"> |
14 <input type="text" id="d" size="5" value="12345"> | 14 <input type="text" id="d" size="5" value="12345"> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 shouldBe('domValueOf("h")', '"12" + fancyX + "45"'); | 84 shouldBe('domValueOf("h")', '"12" + fancyX + "45"'); |
85 shouldBe('visibleValueOf("h")', '"12" + fancyX + "45"'); | 85 shouldBe('visibleValueOf("h")', '"12" + fancyX + "45"'); |
86 | 86 |
87 debug('set maxLength property that is smaller than initial value'); | 87 debug('set maxLength property that is smaller than initial value'); |
88 document.getElementById("g").maxLength = 4; | 88 document.getElementById("g").maxLength = 4; |
89 shouldBe('domValueOf("g")', '"12" + fancyX + "45"'); | 89 shouldBe('domValueOf("g")', '"12" + fancyX + "45"'); |
90 shouldBe('visibleValueOf("g")', '"12" + fancyX + "45"'); | 90 shouldBe('visibleValueOf("g")', '"12" + fancyX + "45"'); |
91 </script> | 91 </script> |
92 </body> | 92 </body> |
93 </html> | 93 </html> |
OLD | NEW |