| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../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 <p> | 8 <p> |
| 9 Please run this with DumpRenderTree. | 9 Please run this with DumpRenderTree. |
| 10 </p> | 10 </p> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 debug('= Click up part of spin button ='); | 59 debug('= Click up part of spin button ='); |
| 60 mouseMoveTo(input.offsetWidth - 10, 8); | 60 mouseMoveTo(input.offsetWidth - 10, 8); |
| 61 mouseClick(); | 61 mouseClick(); |
| 62 shouldBeEqualToString('input.value', '02:25'); | 62 shouldBeEqualToString('input.value', '02:25'); |
| 63 | 63 |
| 64 debug('= Click down part of spin button ='); | 64 debug('= Click down part of spin button ='); |
| 65 mouseMoveTo(input.offsetWidth - 10, input.offsetHeight - 8); | 65 mouseMoveTo(input.offsetWidth - 10, input.offsetHeight - 8); |
| 66 mouseClick(); | 66 mouseClick(); |
| 67 shouldBeEqualToString('input.value', '02:24'); | 67 shouldBeEqualToString('input.value', '02:24'); |
| 68 | 68 |
| 69 debug('= Click on a disabled/readonly field ='); |
| 70 input.disabled = true; |
| 71 mouseMoveTo(12, 14); |
| 72 mouseClick(); |
| 73 keyDown('upArrow'); |
| 74 shouldBeEqualToString('input.value', '02:24'); // Not changed. |
| 75 input.disabled = false; |
| 76 input.readOnly = true; |
| 77 mouseMoveTo(12, 14); |
| 78 mouseClick(); |
| 79 keyDown('upArrow'); |
| 80 shouldBeEqualToString('input.value', '02:24'); // Not changed. |
| 81 input.readOnly = false; |
| 82 |
| 69 debug(''); | 83 debug(''); |
| 70 </script> | 84 </script> |
| 71 <script src="../../js/resources/js-test-post.js"></script> | 85 <script src="../../js/resources/js-test-post.js"></script> |
| 72 </body> | 86 </body> |
| 73 </html> | 87 </html> |
| OLD | NEW |