From 4a0df13665fd34ee1b3a7be660cb9024664ad6b7 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 9 Jun 2008 07:40:29 +0000 Subject: [PATCH] Added simple slider test --- tests/visual/all.css | 5 ++++- tests/visual/all.html | 5 +++++ tests/visual/slider.html | 26 ++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tests/visual/slider.html diff --git a/tests/visual/all.css b/tests/visual/all.css index f7e5be506..17fc5985b 100644 --- a/tests/visual/all.css +++ b/tests/visual/all.css @@ -6,7 +6,7 @@ ul.plugins li { margin: 0 12px 12px 0; color: white; border: 1px solid gray; text-align: center; font-weight: bold; } #accordion, #draggable, #droppable, -#resizable, #selectable, #slider, #sortable, #tabs { +#resizable, #selectable, #sortable, #tabs { margin: 10px; width: 190px; height: 180px; text-align: center; @@ -71,3 +71,6 @@ ul.plugins li { margin: 0 12px 12px 0; .ui-dialog .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; background: gray !important; border: none !important; } .ui-dialog .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 29px; left: 0px; top: 0px; background: gray !important; border: none !important; } .ui-dialog .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 29px; right: 0px; top: 0px; background: gray !important; border: none !important; } + +.ui-slider { margin: 10px; background: #FF9C08; height: 15px; } +.ui-slider-handle { width: 10px; height: 15px; background: white; } diff --git a/tests/visual/all.html b/tests/visual/all.html index fe8cae919..2340b1a01 100644 --- a/tests/visual/all.html +++ b/tests/visual/all.html @@ -23,6 +23,7 @@ $("#draggable").draggable(); $("#resizable").resizable(); $("#selectable").selectable(); + $("#slider").slider(); $("#sortable").sortable(); }); @@ -64,6 +65,10 @@
9
+
  • + Slider +
    +
  • Sortable
    diff --git a/tests/visual/slider.html b/tests/visual/slider.html new file mode 100644 index 000000000..3e4e99133 --- /dev/null +++ b/tests/visual/slider.html @@ -0,0 +1,26 @@ + + + + Simple Slider + + + + + + + + + +
      +
    • + Slider +
      +
    • +
    + + + -- 2.39.5