OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <p>This test verifies that updating the slider for an input element with type=ra
nge fires a change event.</p> | 6 <p>This test verifies that updating the slider for an input element with type=ra
nge fires a change event.</p> |
7 | 7 |
8 <!-- See bug 84674 --> | 8 <!-- See bug 84674 --> |
9 <input id="slider" type="range" min="0" max="3" value="0"></input> | 9 <input id="slider" type="range" min="0" max="3" value="0"></input> |
10 <pre id="console"></pre> | 10 <pre id="console"></pre> |
(...skipping 27 matching lines...) Expand all Loading... |
38 eventSender.mouseMoveTo(x, y); | 38 eventSender.mouseMoveTo(x, y); |
39 eventSender.mouseDown(); | 39 eventSender.mouseDown(); |
40 eventSender.mouseUp(); | 40 eventSender.mouseUp(); |
41 | 41 |
42 if (!receivedChangeEvent) | 42 if (!receivedChangeEvent) |
43 testFailed('Change event not fired.'); | 43 testFailed('Change event not fired.'); |
44 } | 44 } |
45 </script> | 45 </script> |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |