| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 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 <script> | 7 <script> |
| 8 description('Test for a capturing bug of spin buttons in a type=numnber input.')
; | 8 description('Test for a capturing bug of spin buttons in a type=numnber input.')
; |
| 9 | 9 |
| 10 var parent = document.createElement('div'); | 10 var parent = document.createElement('div'); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 eventSender.mouseMoveTo(anotherInput.offsetLeft + anotherInput.offsetWidth -
10, anotherInput.offsetTop + anotherInput.offsetHeight / 4 - 1); | 27 eventSender.mouseMoveTo(anotherInput.offsetLeft + anotherInput.offsetWidth -
10, anotherInput.offsetTop + anotherInput.offsetHeight / 4 - 1); |
| 28 eventSender.mouseDown(); | 28 eventSender.mouseDown(); |
| 29 eventSender.mouseUp(); | 29 eventSender.mouseUp(); |
| 30 shouldBe('anotherInput.value', '"2"'); | 30 shouldBe('anotherInput.value', '"2"'); |
| 31 | 31 |
| 32 parent.innerHTML = ''; | 32 parent.innerHTML = ''; |
| 33 } else { | 33 } else { |
| 34 document.getElementById('console').innerHTML = '<p>No eventSender. <p>Manual
test instruction: Click the upper button of the first input field, then click t
he upper button of the second input field. Confirm that the second input field
value is changed.'; | 34 document.getElementById('console').innerHTML = '<p>No eventSender. <p>Manual
test instruction: Click the upper button of the first input field, then click t
he upper button of the second input field. Confirm that the second input field
value is changed.'; |
| 35 } | 35 } |
| 36 </script> | 36 </script> |
| 37 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
| 38 </body> | 37 </body> |
| 39 </html> | 38 </html> |
| OLD | NEW |