diff options
author | Richard Worth <rdworth@gmail.com> | 2009-02-21 11:34:08 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-02-21 11:34:08 +0000 |
commit | bf43ab6d30846b1ac856ae5c033019f50fe3a152 (patch) | |
tree | fb72d1525a910156a4a9ebd13d78d5d0f40d39da /tests/visual | |
parent | 1141b61c0ea45317cee5dbaff093ac3b65459645 (diff) | |
download | jquery-ui-bf43ab6d30846b1ac856ae5c033019f50fe3a152.tar.gz jquery-ui-bf43ab6d30846b1ac856ae5c033019f50fe3a152.zip |
Added diffs to static and visual markup side-by-side tests
Diffstat (limited to 'tests/visual')
-rw-r--r-- | tests/visual/dialog/default.html | 4 | ||||
-rw-r--r-- | tests/visual/draggable/default.html | 8 | ||||
-rw-r--r-- | tests/visual/droppable/default.html | 8 | ||||
-rw-r--r-- | tests/visual/resizable/default.html | 6 | ||||
-rw-r--r-- | tests/visual/selectable/default.html | 1 | ||||
-rw-r--r-- | tests/visual/slider/default.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/default_vertical.html | 23 | ||||
-rw-r--r-- | tests/visual/slider/slider_horizontal.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_horizontal_range.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_horizontal_range_max.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_horizontal_range_min.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_vertical.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_vertical_range.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_vertical_range_max.html | 4 | ||||
-rw-r--r-- | tests/visual/slider/slider_vertical_range_min.html | 4 | ||||
-rw-r--r-- | tests/visual/sortable/default.html | 9 |
16 files changed, 59 insertions, 36 deletions
diff --git a/tests/visual/dialog/default.html b/tests/visual/dialog/default.html index 678f61c9e..b5cc04570 100644 --- a/tests/visual/dialog/default.html +++ b/tests/visual/dialog/default.html @@ -18,7 +18,9 @@ <body> <div id="dialog" title="Dialog Title"> - <p> Dialog Content </p> + <p> + Dialog Content + </p> </div> </body> diff --git a/tests/visual/draggable/default.html b/tests/visual/draggable/default.html index 224640f2a..925631fa9 100644 --- a/tests/visual/draggable/default.html +++ b/tests/visual/draggable/default.html @@ -9,13 +9,13 @@ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script> <script type="text/javascript"> $(function() { - $("#draggable").draggable(); + $("body").children(":first").draggable(); }); </script> </head> <body> -<div id="draggable"> - <p> Draggable </p> -</div> + +<div><p>Draggable</p></div> + </body> </html> diff --git a/tests/visual/droppable/default.html b/tests/visual/droppable/default.html index f1728d3ea..1afc1acfa 100644 --- a/tests/visual/droppable/default.html +++ b/tests/visual/droppable/default.html @@ -10,13 +10,13 @@ <script type="text/javascript" src="../../../ui/ui.droppable.js"></script> <script type="text/javascript"> $(function() { - $("#droppable").droppable(); + $("body").children(":first").droppable(); }); </script> </head> <body> -<div id="droppable"> - <p> Droppable </p> -</div> + +<div><p>Droppable</p></div> + </body> </html> diff --git a/tests/visual/resizable/default.html b/tests/visual/resizable/default.html index 1063d926a..9a122f6b1 100644 --- a/tests/visual/resizable/default.html +++ b/tests/visual/resizable/default.html @@ -15,7 +15,11 @@ </head> <body> -<div id="resizable">Resizable</div> +<div id="resizable"> + <p> + Resizable + </p> +</div> </body> </html> diff --git a/tests/visual/selectable/default.html b/tests/visual/selectable/default.html index e99751cba..e22738306 100644 --- a/tests/visual/selectable/default.html +++ b/tests/visual/selectable/default.html @@ -13,7 +13,6 @@ }); </script> </head> - <body> <div id="selectable"> diff --git a/tests/visual/slider/default.html b/tests/visual/slider/default.html index 4713d8f7e..dc57608b7 100644 --- a/tests/visual/slider/default.html +++ b/tests/visual/slider/default.html @@ -9,13 +9,13 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider").slider(); + $("body").children(":first").slider(); }); </script> </head> <body> -<div id="slider"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/default_vertical.html b/tests/visual/slider/default_vertical.html new file mode 100644 index 000000000..e0e5618be --- /dev/null +++ b/tests/visual/slider/default_vertical.html @@ -0,0 +1,23 @@ +<!doctype html> +<html lang="en"> +<head> + <title>Slider Visual Test : Default vertical</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() { + $("body").children(":first").slider({ + orientation: 'vertical' + }); + }); + </script> +</head> +<body> + +<div></div> + +</body> +</html> diff --git a/tests/visual/slider/slider_horizontal.html b/tests/visual/slider/slider_horizontal.html index c816a718b..fb6fe1027 100644 --- a/tests/visual/slider/slider_horizontal.html +++ b/tests/visual/slider/slider_horizontal.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-horizontal").slider({ + $("body").children(":first").slider({ orientation: 'horizontal', value: 50 }); @@ -18,7 +18,7 @@ </head> <body> -<div id="slider-horizontal"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_horizontal_range.html b/tests/visual/slider/slider_horizontal_range.html index 975a318df..182e27a1a 100644 --- a/tests/visual/slider/slider_horizontal_range.html +++ b/tests/visual/slider/slider_horizontal_range.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-horizontal-range").slider({ + $("body").children(":first").slider({ orientation: 'horizontal', range: true, values: [25, 75] @@ -19,7 +19,7 @@ </head> <body> -<div id="slider-horizontal-range"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_horizontal_range_max.html b/tests/visual/slider/slider_horizontal_range_max.html index a1e5d1732..68fd374a4 100644 --- a/tests/visual/slider/slider_horizontal_range_max.html +++ b/tests/visual/slider/slider_horizontal_range_max.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-horizontal-range-max").slider({ + $("body").children(":first").slider({ orientation: 'horizontal', range: 'max', value: 75 @@ -19,7 +19,7 @@ </head> <body> -<div id="slider-horizontal-range-max"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_horizontal_range_min.html b/tests/visual/slider/slider_horizontal_range_min.html index ba0a2b0aa..cbf2d7f36 100644 --- a/tests/visual/slider/slider_horizontal_range_min.html +++ b/tests/visual/slider/slider_horizontal_range_min.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-horizontal-range-min").slider({ + $("body").children(":first").slider({ orientation: 'horizontal', range: 'min', value: 25 @@ -19,7 +19,7 @@ </head> <body> -<div id="slider-horizontal-range-min"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_vertical.html b/tests/visual/slider/slider_vertical.html index c68696fb0..5ec02be21 100644 --- a/tests/visual/slider/slider_vertical.html +++ b/tests/visual/slider/slider_vertical.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-vertical").slider({ + $("body").children(":first").slider({ orientation: 'vertical', value: 50 }); @@ -18,7 +18,7 @@ </head> <body> -<div id="slider-vertical"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_vertical_range.html b/tests/visual/slider/slider_vertical_range.html index e1670b51f..d59fd5f57 100644 --- a/tests/visual/slider/slider_vertical_range.html +++ b/tests/visual/slider/slider_vertical_range.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-vertical-range").slider({ + $("body").children(":first").slider({ orientation: 'vertical', range: true, values: [25, 75] @@ -19,7 +19,7 @@ </head> <body> -<div id="slider-vertical-range"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_vertical_range_max.html b/tests/visual/slider/slider_vertical_range_max.html index 20e722787..d68eae585 100644 --- a/tests/visual/slider/slider_vertical_range_max.html +++ b/tests/visual/slider/slider_vertical_range_max.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-vertical-range-max").slider({ + $("body").children(":first").slider({ orientation: 'vertical', range: 'max', value: 75 @@ -19,7 +19,7 @@ </head> <body> -<div id="slider-vertical-range-max"></div> +<div></div> </body> </html> diff --git a/tests/visual/slider/slider_vertical_range_min.html b/tests/visual/slider/slider_vertical_range_min.html index 4452aedd3..5ce2c2a4d 100644 --- a/tests/visual/slider/slider_vertical_range_min.html +++ b/tests/visual/slider/slider_vertical_range_min.html @@ -9,7 +9,7 @@ <script type="text/javascript" src="../../../ui/ui.slider.js"></script> <script type="text/javascript"> $(function() { - $("#slider-vertical-range-min").slider({ + $("body").children(":first").slider({ orientation: 'vertical', range: 'min', value: 25 @@ -19,7 +19,7 @@ </head> <body> -<div id="slider-vertical-range-min"></div> +<div></div> </body> </html> diff --git a/tests/visual/sortable/default.html b/tests/visual/sortable/default.html index 4e82d27db..0af09ffd4 100644 --- a/tests/visual/sortable/default.html +++ b/tests/visual/sortable/default.html @@ -9,18 +9,13 @@ <script type="text/javascript" src="../../../ui/ui.sortable.js"></script> <script type="text/javascript"> $(function() { - $("#sortable").sortable(); + $("body").children(":first").sortable(); }); </script> </head> - <body> -<div id="sortable"> - <div>Sortable 1</div> - <div>Sortable 2</div> - <div>Sortable 3</div> -</div> +<div><div>Sortable 1</div><div>Sortable 2</div><div>Sortable 3</div></div> </body> </html> |