]> source.dussan.org Git - jquery-ui.git/commitdiff
Slider: added visual test page for #4467
authorRichard Worth <rdworth@gmail.com>
Sat, 21 Nov 2009 22:30:13 +0000 (22:30 +0000)
committerRichard Worth <rdworth@gmail.com>
Sat, 21 Nov 2009 22:30:13 +0000 (22:30 +0000)
tests/visual/slider/slider_ticket_4467.html [new file with mode: 0644]

diff --git a/tests/visual/slider/slider_ticket_4467.html b/tests/visual/slider/slider_ticket_4467.html
new file mode 100644 (file)
index 0000000..d851d07
--- /dev/null
@@ -0,0 +1,31 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>Slider Visual Test : Slider ticket #4467</title>\r
+       <link rel="stylesheet" href="../visual.css" type="text/css" />\r
+       <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">\r
+       <script type="text/javascript" src="../../../jquery-1.3.2.js"></script>\r
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>\r
+       <script type="text/javascript" src="../../../ui/jquery.ui.slider.js"></script>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#slider").slider({\r
+                       range: true,\r
+                       values: [25, 75]\r
+               });\r
+       });\r
+       </script>\r
+       <style type="text/css">\r
+       .ui-slider-handle {\r
+               width: 100px !important;\r
+       }\r
+       </style>\r
+</head>\r
+<body>\r
+\r
+<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4467">#4467 - slider handle jumps few pixels right or left if it's clicked on it</a></h1>\r
+\r
+<div id="slider"></div>\r
+\r
+</body>\r
+</html>\r