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">Tests if clicking close to a tick mark snaps to it. Result w
ill change depending on the return value of RenderTheme::sliderTickSnappingThres
hold().</p> | 7 <p id="description">Tests if clicking close to a tick mark snaps to it. Result w
ill change depending on the return value of RenderTheme::sliderTickSnappingThres
hold().</p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <input id="input" type=range min=0 max=1000 step=1 list=target style="width: 100
px"> | 9 <input id="input" type=range min=0 max=1000 step=1 list=target style="width: 100
px"> |
10 <datalist id="target"> | 10 <datalist id="target"> |
(...skipping 24 matching lines...) Expand all Loading... |
35 } else { | 35 } else { |
36 debug('value for ' + position + ' is =500'); | 36 debug('value for ' + position + ' is =500'); |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 for (var i = 40; i <= 60; ++i) { | 40 for (var i = 40; i <= 60; ++i) { |
41 test(i); | 41 test(i); |
42 } | 42 } |
43 </script> | 43 </script> |
44 | 44 |
45 <script src="../../js/resources/js-test-post.js"></script> | |
46 </body> | 45 </body> |
47 </html> | 46 </html> |
OLD | NEW |