aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/slider/slider_ticket_3762.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-04-17 13:59:27 +0000
committerRichard Worth <rdworth@gmail.com>2009-04-17 13:59:27 +0000
commitfa369c5340cb18bfc7e8c2cced03ecffbf80f3bf (patch)
tree8e0c06bb4e1a7751eb1e5c5b86c6c843cc557acd /tests/visual/slider/slider_ticket_3762.html
parent8f503d8d3158a6bca89d52cd460aadafafd234f5 (diff)
downloadjquery-ui-fa369c5340cb18bfc7e8c2cced03ecffbf80f3bf.tar.gz
jquery-ui-fa369c5340cb18bfc7e8c2cced03ecffbf80f3bf.zip
Added visual test page for #3762 - slider handles not restricted properly when set programmatically
Diffstat (limited to 'tests/visual/slider/slider_ticket_3762.html')
-rw-r--r--tests/visual/slider/slider_ticket_3762.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/visual/slider/slider_ticket_3762.html b/tests/visual/slider/slider_ticket_3762.html
new file mode 100644
index 000000000..d5bb4bc42
--- /dev/null
+++ b/tests/visual/slider/slider_ticket_3762.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider ticket #3762</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.2.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider").slider({
+ values: [5,0],
+ range: true
+ });
+ $("#rangevalue").text($("#slider").slider("values", 0) + ' - ' + $("#slider").slider("values", 1));
+ });
+ </script>
+</head>
+<body>
+
+<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/3762">#3762 - slider handles not restricted properly when set programmatically</a></h1>
+
+<div id="slider"></div>
+
+</body>
+</html>