aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/slider
diff options
context:
space:
mode:
authorAndrew Powell <powella@gmail.com>2009-04-19 23:15:44 +0000
committerAndrew Powell <powella@gmail.com>2009-04-19 23:15:44 +0000
commitdc76df3d07b57a486ad672fdc50f30274577b492 (patch)
tree4886287296ff22fe8277591884f19eb4096288c6 /tests/visual/slider
parent1c2fd6f9ee652d9a375be2e5876ae31ac9c14733 (diff)
downloadjquery-ui-dc76df3d07b57a486ad672fdc50f30274577b492.tar.gz
jquery-ui-dc76df3d07b57a486ad672fdc50f30274577b492.zip
Updated the test to include all scenarios.
Diffstat (limited to 'tests/visual/slider')
-rw-r--r--tests/visual/slider/slider_ticket_3762.html23
1 files changed, 19 insertions, 4 deletions
diff --git a/tests/visual/slider/slider_ticket_3762.html b/tests/visual/slider/slider_ticket_3762.html
index f2423cf23..9eee9c227 100644
--- a/tests/visual/slider/slider_ticket_3762.html
+++ b/tests/visual/slider/slider_ticket_3762.html
@@ -9,10 +9,11 @@
<script type="text/javascript" src="../../../ui/ui.slider.js"></script>
<script type="text/javascript">
$(function() {
- $("#slider").slider({
- values: [5,0],
- range: true
- });
+ $("#slider").slider({ values: [5,0], range: true});
+ $("#slider1").slider({ values: [-1,5], range: true});
+ $("#slider2").slider({ values: [5,200], range: true});
+ $("#slider3").slider({ values: [5,0], range: true});
+ $("#slider4").slider({range: true});
});
</script>
</head>
@@ -22,5 +23,19 @@
<div id="slider"></div>
+<div>- if less than min, set to min</div>
+<div id="slider1"></div>
+
+<div>- if greater than max, set to max</div>
+<div id="slider2"></div>
+
+<div>- if less than previous handle value, set to previous handle value</div>
+<div id="slider3"></div>
+
+<div>no values set</div>
+<div id="slider4"></div>
+
+
+
</body>
</html>