]> source.dussan.org Git - jquery-ui.git/commitdiff
css updates to abstract left, right, bottom, top values into CSS
authorScott Jehl <scott@scottjehl.com>
Thu, 29 Jan 2009 16:22:13 +0000 (16:22 +0000)
committerScott Jehl <scott@scottjehl.com>
Thu, 29 Jan 2009 16:22:13 +0000 (16:22 +0000)
tests/static/slider/default_vertical.html [new file with mode: 0644]
tests/static/slider/horizontal_range_max.html
tests/static/slider/horizontal_range_min.html
tests/static/slider/slider.html [deleted file]
tests/static/slider/vertical_range_max.html

diff --git a/tests/static/slider/default_vertical.html b/tests/static/slider/default_vertical.html
new file mode 100644 (file)
index 0000000..6fd61c2
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<html>
+<head>
+       <title>Slider Static Test : Default vertical</title>
+       <link rel="stylesheet" href="../static.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/ui.base.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
+       <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+       <script type="text/javascript" src="../static.js"></script>
+</head>
+<body>
+
+<div class="ui-slider ui-slider-vertical ui-widget ui-widget-content ui-corner-all">
+       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="bottom: 0%;"></a>
+</div>
+
+</body>
+</html>
index 006a5619e917137dea0f9f3e3b835859f63ebe4f..aa1d0d05f1e7e9becb87b13c72fc3748a98822e8 100644 (file)
@@ -11,7 +11,7 @@
 <body>
 
 <div id="slider-horizontal-range-max" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
-       <div class="ui-slider-range ui-slider-range-max ui-widget-header" style="width:25%; right: 0;"></div>
+       <div class="ui-slider-range ui-slider-range-max ui-widget-header" style="width:25%;"></div>
        <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 75%;"></a>
 </div>
 
index 0c52946b0d9056c8b37ffbe83437df5b63e37068..f51f8de5dee119c69c39175eefe571ab6fd4de2f 100644 (file)
@@ -11,7 +11,7 @@
 <body>
 
 <div id="slider-horizontal-range-min" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
-       <div class="ui-slider-range ui-slider-range-min ui-widget-header" style="width:25%; left: 0;"></div>
+       <div class="ui-slider-range ui-slider-range-min ui-widget-header" style="width:25%;"></div>
        <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 25%;"></a>
 </div>
 
diff --git a/tests/static/slider/slider.html b/tests/static/slider/slider.html
deleted file mode 100644 (file)
index 06bafe0..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<!doctype html>
-<html>
-<head>
-       <title>jQuery UI Slider Static Markup Test Page</title>
-       <link rel="stylesheet" href="../../../themes/base/ui.base.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
-       <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
-       <script type="text/javascript" src="../static.js"></script>
-       <style type="text/css">
-       .ui-slider {margin: 2em 0;}
-       </style>
-</head>
-<body style="font-size: 62.5%;">
-
-<!-- Slider: horizontal -->
-<div class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
-       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 15%;"></a>
-       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all"  style="left: 30%;"></a>    
-       <div class="ui-slider-range ui-widget-header" style="left: 15%; width: 15%;"></div>
-</div>
-
-<!-- Slider: vertical -->
-<div class="ui-slider ui-slider-vertical ui-widget ui-widget-content ui-corner-all" style="height: 100px;">
-       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="top: 15%;"></a>
-       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all"  style="top: 60%;"></a>     
-       <div class="ui-slider-range ui-widget-header" style="top: 15%; height: 45%;"></div>
-</div>
-
-</body>
-</html>
index b89120b25b42153f2587d330dda13a4a9187e4b8..2500e37aa68db53451a320baa5f37901307cf94b 100644 (file)
@@ -12,7 +12,7 @@
 
 <div id="slider-vertical-range-max" class="ui-slider ui-slider-vertical ui-widget ui-widget-content ui-corner-all">
        <div class="ui-slider-range ui-slider-range-max ui-widget-header" style="height: 75%;"></div>
-       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="bottom: 75%;"></a>
+       <a href="#" class="ui-slider-handle ui-state-default ui-corner-all" style="bottom: 25%;"></a>
 </div>
 
 </body>