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>Test that click events are fired for a slider when the range of values is den
se enough that the thumb element is repositioned under the cursor on mouse press
.</p> | 6 <p>Test that click events are fired for a slider when the range of values is den
se enough that the thumb element is repositioned under the cursor on mouse press
.</p> |
7 | 7 |
8 <!-- See bug 84674 --> | 8 <!-- See bug 84674 --> |
9 <input id="slider" type="range" min="0" max="100" value="50"></input> | 9 <input id="slider" type="range" min="0" max="100" value="50"></input> |
10 <pre id="console"></pre> | 10 <pre id="console"></pre> |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 eventSender.mouseMoveTo(x + slider.clientWidth / 2, y); | 42 eventSender.mouseMoveTo(x + slider.clientWidth / 2, y); |
43 eventSender.mouseDown(); | 43 eventSender.mouseDown(); |
44 eventSender.mouseUp(); | 44 eventSender.mouseUp(); |
45 | 45 |
46 shouldBe("clickCount", "3"); | 46 shouldBe("clickCount", "3"); |
47 } | 47 } |
48 </script> | 48 </script> |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |