| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../js/resources/js-test-pre.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
| 3 <p>There was a bug that the value property of a cloned text input was not update
d.</p> | 3 <p>There was a bug that the value property of a cloned text input was not update
d.</p> |
| 4 <div id=container> | 4 <div id=container> |
| 5 <input id=i1 value="Initial" style> | 5 <input id=i1 value="Initial" style> |
| 6 <input id=i2 type=search value="Initial" style> | 6 <input id=i2 type=search value="Initial" style> |
| 7 <!-- ENABLE_INPUT_SPEECH flag doesn't affect the test result --> | 7 <!-- ENABLE_INPUT_SPEECH flag doesn't affect the test result --> |
| 8 <input id=i3 type=search value="Initial" x-webkit-speech style> | 8 <input id=i3 type=search value="Initial" x-webkit-speech style> |
| 9 <input id=i4 type=number value="0" style> | 9 <input id=i4 type=number value="0" style> |
| 10 </div> | 10 </div> |
| 11 <div id=console></div> | 11 <div id=console></div> |
| 12 <script> | 12 <script> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 25 debug('Check for ' + clone.type + ' type:'); | 25 debug('Check for ' + clone.type + ' type:'); |
| 26 shouldBe('clone.value', 'newValue'); | 26 shouldBe('clone.value', 'newValue'); |
| 27 } | 27 } |
| 28 | 28 |
| 29 check('i1', 'foo'); | 29 check('i1', 'foo'); |
| 30 check('i2', 'query'); | 30 check('i2', 'query'); |
| 31 check('i3', 'speech'); | 31 check('i3', 'speech'); |
| 32 check('i4', '13'); | 32 check('i4', '13'); |
| 33 container.innerHTML = ''; | 33 container.innerHTML = ''; |
| 34 </script> | 34 </script> |
| OLD | NEW |