aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/slider
diff options
context:
space:
mode:
authorScott Jehl <scott@scottjehl.com>2009-01-29 16:22:13 +0000
committerScott Jehl <scott@scottjehl.com>2009-01-29 16:22:13 +0000
commita0d600ccaa352b20fad92f1269050d141fca8026 (patch)
treef63f3d4deff08f4de4d7731950ecb337fa21de63 /tests/static/slider
parente42a055dbbaa34df5abcf6513463885ea5c61257 (diff)
downloadjquery-ui-a0d600ccaa352b20fad92f1269050d141fca8026.tar.gz
jquery-ui-a0d600ccaa352b20fad92f1269050d141fca8026.zip
css updates to abstract left, right, bottom, top values into CSS
Diffstat (limited to 'tests/static/slider')
-rw-r--r--tests/static/slider/default_vertical.html18
-rw-r--r--tests/static/slider/horizontal_range_max.html2
-rw-r--r--tests/static/slider/horizontal_range_min.html2
-rw-r--r--tests/static/slider/slider.html30
-rw-r--r--tests/static/slider/vertical_range_max.html2
5 files changed, 21 insertions, 33 deletions
diff --git a/tests/static/slider/default_vertical.html b/tests/static/slider/default_vertical.html
new file mode 100644
index 000000000..6fd61c2f4
--- /dev/null
+++ b/tests/static/slider/default_vertical.html
@@ -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>
diff --git a/tests/static/slider/horizontal_range_max.html b/tests/static/slider/horizontal_range_max.html
index 006a5619e..aa1d0d05f 100644
--- a/tests/static/slider/horizontal_range_max.html
+++ b/tests/static/slider/horizontal_range_max.html
@@ -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>
diff --git a/tests/static/slider/horizontal_range_min.html b/tests/static/slider/horizontal_range_min.html
index 0c52946b0..f51f8de5d 100644
--- a/tests/static/slider/horizontal_range_min.html
+++ b/tests/static/slider/horizontal_range_min.html
@@ -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
index 06bafe064..000000000
--- a/tests/static/slider/slider.html
+++ /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>
diff --git a/tests/static/slider/vertical_range_max.html b/tests/static/slider/vertical_range_max.html
index b89120b25..2500e37aa 100644
--- a/tests/static/slider/vertical_range_max.html
+++ b/tests/static/slider/vertical_range_max.html
@@ -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>