OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 | 4 |
5 // Tests that the slider thumb is repainted correctly when the mouse that's | 5 // Tests that the slider thumb is repainted correctly when the mouse that's |
6 // dragging it releases outside of the track. The result should be a thumb | 6 // dragging it releases outside of the track. The result should be a thumb |
7 // painted in the released state. | 7 // painted in the released state. |
8 | 8 |
9 var ARBITRARY_DELTA = 50; | 9 var ARBITRARY_DELTA = 50; |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 { | 26 { |
27 clickAndDragDiagonally(document.getElementById('slider')); | 27 clickAndDragDiagonally(document.getElementById('slider')); |
28 } | 28 } |
29 | 29 |
30 </script> | 30 </script> |
31 </head> | 31 </head> |
32 <body onload="runTest()"> | 32 <body onload="runTest()"> |
33 <input id="slider" type="range" value="0"> | 33 <input id="slider" type="range" value="0"> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |