Skip to content
Permalink
Browse files

Updated the test to include all scenarios.

  • Loading branch information...
Andrew Powell
Andrew Powell committed Apr 19, 2009
1 parent 1c2fd6f commit dc76df3d07b57a486ad672fdc50f30274577b492
Showing with 19 additions and 4 deletions.
  1. +19 −4 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 @@ <h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/3762">#3762

<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>

0 comments on commit dc76df3

Please sign in to comment.
You can’t perform that action at this time.