]> source.dussan.org Git - jquery-ui.git/commitdiff
Cleaning up visual tests
authorjzaefferer <joern.zaefferer@gmail.com>
Sun, 21 Mar 2010 20:07:25 +0000 (21:07 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Sun, 21 Mar 2010 20:07:25 +0000 (21:07 +0100)
Fixes #5395 - Visual Tests Cleanup

32 files changed:
tests/visual/accordion/accordion.html
tests/visual/accordion/default.html [deleted file]
tests/visual/autocomplete/autocomplete.html [new file with mode: 0644]
tests/visual/autocomplete/default.html [deleted file]
tests/visual/button/button.html [new file with mode: 0644]
tests/visual/button/default.html [deleted file]
tests/visual/datepicker/datepicker.html
tests/visual/datepicker/datepicker_multi_inline.html [new file with mode: 0644]
tests/visual/datepicker/default.html [deleted file]
tests/visual/dialog/default.html [deleted file]
tests/visual/dialog/dialog.html
tests/visual/draggable/default.html [deleted file]
tests/visual/droppable/default.html [deleted file]
tests/visual/droppable/droppable.html
tests/visual/index.html
tests/visual/menu/default.html [deleted file]
tests/visual/menu/menu.html [new file with mode: 0644]
tests/visual/position/default.html [deleted file]
tests/visual/position/position.html [new file with mode: 0644]
tests/visual/progressbar/default.html [deleted file]
tests/visual/progressbar/progressbar.html
tests/visual/resizable/default.html [deleted file]
tests/visual/selectable/default.html [deleted file]
tests/visual/selectable/selectable.html
tests/visual/slider/default.html [deleted file]
tests/visual/slider/default_vertical.html [deleted file]
tests/visual/slider/slider.html
tests/visual/sortable/default.html [deleted file]
tests/visual/sortable/sortable.html
tests/visual/tabs/default.html [deleted file]
tests/visual/tabs/tabs.html
tests/visual/visual.css

index 1f50888ed4e607f9a82c130bea12106dbb45146f..01a6fc0ad700fcf560d3aee42eac9c0ee1b7daf2 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Accordion Visual Test : Accordion</title>
+       <title>Accordion Visual Test : Default</title>
        <link rel="stylesheet" href="../visual.css" type="text/css" />
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
diff --git a/tests/visual/accordion/default.html b/tests/visual/accordion/default.html
deleted file mode 100644 (file)
index 01a6fc0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Accordion Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.accordion.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("#accordion").accordion();
-       })
-       </script>
-</head>
-<body>
-
-<div id="accordion">
-       <h3><a href="#">Accordion Header 1</a></h3>
-       <div>
-               Accordion Content 1
-       </div>
-       <h3><a href="#">Accordion Header 2</a></h3>
-       <div>
-               Accordion Content 2
-       </div>
-       <h3><a href="#">Accordion Header 3</a></h3>
-       <div>
-               Accordion Content 3
-       </div>
-</div>
-
-</body>
-</html>
diff --git a/tests/visual/autocomplete/autocomplete.html b/tests/visual/autocomplete/autocomplete.html
new file mode 100644 (file)
index 0000000..c39d032
--- /dev/null
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8" />
+       <title>Autocomplete Visual Test: Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
+       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
+       <script type="text/javascript">
+       $(function() {
+               $.fn.themeswitcher && $('<div/>').css({
+                       position: "absolute",
+                       right: 10,
+                       top: 10
+               }).appendTo(document.body).themeswitcher();
+               
+               function log(message) {
+                       $("<div/>").text(message).prependTo("#log");
+                       $("#log").attr("scrollTop", 0);
+               }
+               
+               function enable() {
+                       $("#tags").autocomplete({
+                               source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"],
+                               delay: 0,
+                               search: function() {
+                                       log("Searching for: " + this.value);
+                               },
+                               open: function() {
+                                       log("Found something");
+                               },
+                               focus: function(event, ui) {
+                                       log("Moving focus to " + ui.item.label);
+                               },
+                               close: function() {
+                                       log("Hiding suggestions");
+                               },
+                               change: function(event, ui) {
+                                       log(ui.item ? ("Selected: " + ui.item.value) : "Nothing selected, input was " + this.value);
+                               }
+                       });
+               }
+               enable();
+               $("#toggle").toggle(function() {
+                       $("#tags").autocomplete("destroy");
+               }, enable);
+       });
+       </script>
+</head>
+<body>
+
+<div class="ui-widget">
+       <label for="tags">Tags: </label>
+       <input class="ui-widget ui-widget-content ui-corner-all" id="tags" />
+</div>
+<div>
+       <label for="tags">Select: </label>
+       <select>
+               <option>label</option>
+       </select>
+</div>
+
+<div class="ui-widget" style="margin-top:2em; font-family:Arial">
+       Log:
+       <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
+</div>
+
+<button id="toggle">Toggle widget</button>
+
+</body>
+</html>
diff --git a/tests/visual/autocomplete/default.html b/tests/visual/autocomplete/default.html
deleted file mode 100644 (file)
index c39d032..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Autocomplete Visual Test: Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
-       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
-       <script type="text/javascript">
-       $(function() {
-               $.fn.themeswitcher && $('<div/>').css({
-                       position: "absolute",
-                       right: 10,
-                       top: 10
-               }).appendTo(document.body).themeswitcher();
-               
-               function log(message) {
-                       $("<div/>").text(message).prependTo("#log");
-                       $("#log").attr("scrollTop", 0);
-               }
-               
-               function enable() {
-                       $("#tags").autocomplete({
-                               source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"],
-                               delay: 0,
-                               search: function() {
-                                       log("Searching for: " + this.value);
-                               },
-                               open: function() {
-                                       log("Found something");
-                               },
-                               focus: function(event, ui) {
-                                       log("Moving focus to " + ui.item.label);
-                               },
-                               close: function() {
-                                       log("Hiding suggestions");
-                               },
-                               change: function(event, ui) {
-                                       log(ui.item ? ("Selected: " + ui.item.value) : "Nothing selected, input was " + this.value);
-                               }
-                       });
-               }
-               enable();
-               $("#toggle").toggle(function() {
-                       $("#tags").autocomplete("destroy");
-               }, enable);
-       });
-       </script>
-</head>
-<body>
-
-<div class="ui-widget">
-       <label for="tags">Tags: </label>
-       <input class="ui-widget ui-widget-content ui-corner-all" id="tags" />
-</div>
-<div>
-       <label for="tags">Select: </label>
-       <select>
-               <option>label</option>
-       </select>
-</div>
-
-<div class="ui-widget" style="margin-top:2em; font-family:Arial">
-       Log:
-       <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
-</div>
-
-<button id="toggle">Toggle widget</button>
-
-</body>
-</html>
diff --git a/tests/visual/button/button.html b/tests/visual/button/button.html
new file mode 100644 (file)
index 0000000..13e1930
--- /dev/null
@@ -0,0 +1,139 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8" />
+       <title>Button Visual push: Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
+       <style type="text/css">
+               #toolbar { margin-top: 2em; padding:0.2em; }
+               #ops1, #ops2, #format, #mode { margin-right: 1em }
+       </style>
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../external/jquery.metadata.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
+       <script type="text/javascript">
+       $(function() {
+               var buttons = $('#push button, #check').button();
+               var buttonSets = $('#radio0, #radio1, #radio2, #ops1, #format, #ops2, #mode, #inputs, #anchors').buttonset();
+               
+               buttons.add(buttonSets).click(function(event) {
+                       var target = $(event.target);
+                       if (target.closest('.ui-button:not(.ui-state-disabled)').length) {
+                               $("<div></div>")
+                                       .text("Clicked " + (target.text() || target.val()))
+                                       .appendTo("#log");
+                               window.console && console.log(this, arguments);
+                       }
+               });
+               
+               $("#disable-widgets").toggle(function() {
+                       buttons.button("disable");
+                       buttonSets.buttonset("disable");
+               }, function() {
+                       buttons.button("enable");
+                       buttonSets.buttonset("enable");
+               });
+               $("#toggle-widgets").toggle(function() {
+                       buttons.button();
+                       buttonSets.buttonset();
+               }, function() {
+                       buttons.button("destroy");
+                       buttonSets.buttonset("destroy");
+               }).click();
+       });
+       </script>
+</head>
+<body>
+
+<div id="push">
+       <div>
+               No icon
+               <button>Simple button, only text</button>
+               <button class="ui-priority-secondary">Secondary priority button</button>
+       </div>
+       <br/>
+       <div>
+               With icon
+               <button class="{button:{icons:{primary:'ui-icon-locked'},text:false}}">Button with icon only</button>
+               <button class="{button:{icons:{primary:'ui-icon-locked'}}}">Button with icon on the left</button>
+               <button class="{button:{icons:{primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}}}">Button with two icons</button>
+               <button class="{button:{icons:{primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'},text:false}}">Button with two icons</button>
+       </div>
+</div>
+
+<div id="toggle" style="margin-top: 2em;">
+       <input type="checkbox" id="check" /><label for="check">Toggle</label>
+</div>
+
+<div id="radio0" style="margin-top: 2em;">
+       <input type="radio" id="radio01" name="radio" checked="checked" /><label for="radio01">Choice 1</label>
+       <input type="radio" id="radio02" name="radio" /><label for="radio02">Choice 2</label>
+       <input type="radio" id="radio03" name="radio" /><label for="radio03">Choice 3</label>
+</div>
+<form>
+       <div id="radio1" style="margin-top: 2em;">
+               <input type="radio" id="radio11" name="radio" /><label for="radio11">Choice 1</label>
+               <input type="radio" id="radio12" name="radio" checked="checked" /><label for="radio12">Choice 2</label>
+               <input type="radio" id="radio13" name="radio" /><label for="radio13">Choice 3</label>
+       </div>
+</form>
+<form>
+       <div id="radio2" style="margin-top: 2em;">
+               <input type="radio" id="radio21" name="radio" /><label for="radio21">Choice 1</label>
+               <input type="radio" id="radio22" name="radio" /><label for="radio22">Choice 2</label>
+               <input type="radio" id="radio23" name="radio" checked="checked" /><label for="radio23">Choice 3</label>
+       </div>
+</form>
+
+<div id="toolbar" class="ui-widget-header ui-corner-all ui-helper-clearfix">
+       <span id="ops1">
+               <button class="{button:{icons:{primary:'ui-icon-folder-open'},text:false}}">Open</button>
+               <button class="{button:{icons:{primary:'ui-icon-disk'},text:false}}">Save</button>
+               <button class="{button:{icons:{primary:'ui-icon-trash'},text:false}}">Delete</button>
+       </span>
+       <span id="format">
+               <input type="checkbox" id="check1" /><label for="check1">B</label>
+               <input type="checkbox" id="check2" /><label for="check2">I</label>
+               <input type="checkbox" id="check3" /><label for="check3">U</label>
+       </span>
+       <span id="ops2">
+               <button class="{button:{icons:{primary:'ui-icon-print'},text:false}}">Print...</button>
+               <button class="{button:{icons:{primary:'ui-icon-mail-closed'},text:false}}">Mail to...</button>
+       </span>
+       <span id="mode">
+               <input type="radio" id="mode1" name="radio2" checked="checked" /><label for="mode1">Edit</label>
+               <input type="radio" id="mode2" name="radio2" /><label for="mode2">View</label>
+       </span>
+</div>
+
+<div id="inputs" style="margin-top: 2em;">
+       <input type="submit" value="Submit button" />
+       <input type="reset" value="Reset button" class="{button:{label:'Custom reset'}}" />
+</div>
+
+<div id="anchors" style="margin-top: 2em;">
+       <a href="#">Anchor 1</a>
+       <a href="#" class="{button:{icons:{primary:'ui-icon-print'},text:false}}">Anchor 2</a>
+       <a href="#" class="{button:{icons:{primary:'ui-icon-mail-closed'},text:false}}">Anchor 3</a>
+       <a href="#">Anchor 4</a>
+</div>
+
+<div style="margin-top: 2em;">
+       <button id="disable-widgets">Toggle disabled</button>
+       <button id="toggle-widgets">Toggle widget</button>
+</div>
+<div id="log"></div>
+
+<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
+<script type="text/javascript">
+       $.fn.themeswitcher && $('<div></div>').css({
+               position: "absolute",
+               right: 10,
+               top: 10
+       }).appendTo(document.body).themeswitcher();
+</script>
+</body>
+</html>
diff --git a/tests/visual/button/default.html b/tests/visual/button/default.html
deleted file mode 100644 (file)
index 13e1930..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Button Visual push: Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <style type="text/css">
-               #toolbar { margin-top: 2em; padding:0.2em; }
-               #ops1, #ops2, #format, #mode { margin-right: 1em }
-       </style>
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../external/jquery.metadata.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               var buttons = $('#push button, #check').button();
-               var buttonSets = $('#radio0, #radio1, #radio2, #ops1, #format, #ops2, #mode, #inputs, #anchors').buttonset();
-               
-               buttons.add(buttonSets).click(function(event) {
-                       var target = $(event.target);
-                       if (target.closest('.ui-button:not(.ui-state-disabled)').length) {
-                               $("<div></div>")
-                                       .text("Clicked " + (target.text() || target.val()))
-                                       .appendTo("#log");
-                               window.console && console.log(this, arguments);
-                       }
-               });
-               
-               $("#disable-widgets").toggle(function() {
-                       buttons.button("disable");
-                       buttonSets.buttonset("disable");
-               }, function() {
-                       buttons.button("enable");
-                       buttonSets.buttonset("enable");
-               });
-               $("#toggle-widgets").toggle(function() {
-                       buttons.button();
-                       buttonSets.buttonset();
-               }, function() {
-                       buttons.button("destroy");
-                       buttonSets.buttonset("destroy");
-               }).click();
-       });
-       </script>
-</head>
-<body>
-
-<div id="push">
-       <div>
-               No icon
-               <button>Simple button, only text</button>
-               <button class="ui-priority-secondary">Secondary priority button</button>
-       </div>
-       <br/>
-       <div>
-               With icon
-               <button class="{button:{icons:{primary:'ui-icon-locked'},text:false}}">Button with icon only</button>
-               <button class="{button:{icons:{primary:'ui-icon-locked'}}}">Button with icon on the left</button>
-               <button class="{button:{icons:{primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}}}">Button with two icons</button>
-               <button class="{button:{icons:{primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'},text:false}}">Button with two icons</button>
-       </div>
-</div>
-
-<div id="toggle" style="margin-top: 2em;">
-       <input type="checkbox" id="check" /><label for="check">Toggle</label>
-</div>
-
-<div id="radio0" style="margin-top: 2em;">
-       <input type="radio" id="radio01" name="radio" checked="checked" /><label for="radio01">Choice 1</label>
-       <input type="radio" id="radio02" name="radio" /><label for="radio02">Choice 2</label>
-       <input type="radio" id="radio03" name="radio" /><label for="radio03">Choice 3</label>
-</div>
-<form>
-       <div id="radio1" style="margin-top: 2em;">
-               <input type="radio" id="radio11" name="radio" /><label for="radio11">Choice 1</label>
-               <input type="radio" id="radio12" name="radio" checked="checked" /><label for="radio12">Choice 2</label>
-               <input type="radio" id="radio13" name="radio" /><label for="radio13">Choice 3</label>
-       </div>
-</form>
-<form>
-       <div id="radio2" style="margin-top: 2em;">
-               <input type="radio" id="radio21" name="radio" /><label for="radio21">Choice 1</label>
-               <input type="radio" id="radio22" name="radio" /><label for="radio22">Choice 2</label>
-               <input type="radio" id="radio23" name="radio" checked="checked" /><label for="radio23">Choice 3</label>
-       </div>
-</form>
-
-<div id="toolbar" class="ui-widget-header ui-corner-all ui-helper-clearfix">
-       <span id="ops1">
-               <button class="{button:{icons:{primary:'ui-icon-folder-open'},text:false}}">Open</button>
-               <button class="{button:{icons:{primary:'ui-icon-disk'},text:false}}">Save</button>
-               <button class="{button:{icons:{primary:'ui-icon-trash'},text:false}}">Delete</button>
-       </span>
-       <span id="format">
-               <input type="checkbox" id="check1" /><label for="check1">B</label>
-               <input type="checkbox" id="check2" /><label for="check2">I</label>
-               <input type="checkbox" id="check3" /><label for="check3">U</label>
-       </span>
-       <span id="ops2">
-               <button class="{button:{icons:{primary:'ui-icon-print'},text:false}}">Print...</button>
-               <button class="{button:{icons:{primary:'ui-icon-mail-closed'},text:false}}">Mail to...</button>
-       </span>
-       <span id="mode">
-               <input type="radio" id="mode1" name="radio2" checked="checked" /><label for="mode1">Edit</label>
-               <input type="radio" id="mode2" name="radio2" /><label for="mode2">View</label>
-       </span>
-</div>
-
-<div id="inputs" style="margin-top: 2em;">
-       <input type="submit" value="Submit button" />
-       <input type="reset" value="Reset button" class="{button:{label:'Custom reset'}}" />
-</div>
-
-<div id="anchors" style="margin-top: 2em;">
-       <a href="#">Anchor 1</a>
-       <a href="#" class="{button:{icons:{primary:'ui-icon-print'},text:false}}">Anchor 2</a>
-       <a href="#" class="{button:{icons:{primary:'ui-icon-mail-closed'},text:false}}">Anchor 3</a>
-       <a href="#">Anchor 4</a>
-</div>
-
-<div style="margin-top: 2em;">
-       <button id="disable-widgets">Toggle disabled</button>
-       <button id="toggle-widgets">Toggle widget</button>
-</div>
-<div id="log"></div>
-
-<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
-<script type="text/javascript">
-       $.fn.themeswitcher && $('<div></div>').css({
-               position: "absolute",
-               right: 10,
-               top: 10
-       }).appendTo(document.body).themeswitcher();
-</script>
-</body>
-</html>
index 988ada690c4d04807ea0870b38af993f2348eac0..760bcd94da1b3cb21e877493261c87850bc5ce5e 100644 (file)
@@ -2,8 +2,8 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Simple Datepicker</title>
-       <link rel="stylesheet" href="../all.css" type="text/css">
+       <title>Datepicker Visual Test : Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
        <script type="text/javascript">
        $(function() {
-               // simple datepicker
-               $('#d1').datepicker();
-               $('button.disable-d1').click(function(event){
-                       $('#d1').datepicker('disable');
-                       event.preventDefault();
-               });
-               $('button.enable-d1').click(function(event){
-                       $('#d1').datepicker('enable');
-                       event.preventDefault();
-               });
-               $('button.destroy-d1').click(function(event){
-                       $('#d1').datepicker('destroy');
-                       event.preventDefault();
-               });
-               
-               // multi datepicker
-               $('#d2').datepicker({numberOfMonths: 3, showButtonPanel: true});
-               $('button.disable-d2').click(function(event){
-                       $('#d2').datepicker('disable');
-                       event.preventDefault();
-               });
-               $('button.enable-d2').click(function(event){
-                       $('#d2').datepicker('enable');
-                       event.preventDefault();
-               });
-               $('button.destroy-d2').click(function(event){
-                       $('#d2').datepicker('destroy');
-                       event.preventDefault();
-               });
-               
-               // inline datepicker
-               $('#inl').datepicker({minDate: -20, maxDate: '+1M +10D'});
-               $('button.disable-inl').click(function(event){
-                       $('#inl').datepicker('disable');
-                       event.preventDefault();
-               });
-               $('button.enable-inl').click(function(event){
-                       $('#inl').datepicker('enable');
-                       event.preventDefault();
-               });
-               $('button.destroy-inl').click(function(event){
-                       $('#inl').datepicker('destroy');
-                       event.preventDefault();
-               });
-               
-               // disabled input datepicker
-               $('#d3').datepicker();          
-
-               // bottom-right datepicker
-               $('#d4').datepicker({numberOfMonths: 3});               
+               $('#datepicker').datepicker();
        });
        </script>
 </head>
 <body>
 
-<ul class="plugins">
-       <li class="plugin">
-               <button class="disable-d1">Disable</button>
-               <button class="enable-d1">Enable</button>
-               <button class="destroy-d1">Destroy</button>
-
-               Datepicker Simple
-               <div>
-                       <input type="text" id="d1" />
-               </div>
-       </li>
-       <li class="plugin">
-               <button class="disable-d2">Disable</button>
-               <button class="enable-d2">Enable</button>
-               <button class="destroy-d2">Destroy</button>
-
-               Datepicker Multi
-               <div>
-                       <input type="text" id="d2" />
-               </div>
-       </li>
-       <li class="plugin">
-               <button class="disable-inl">Disable</button>
-               <button class="enable-inl">Enable</button>
-               <button class="destroy-inl">Destroy</button>
-
-               Datepicker Inline
-               <div id="inl"></div>
-       </li>
-       <li class="plugin">
-               Datepicker disabled input
-               <div>
-                       <input type="text" id="d3" disabled="disabled" />
-               </div>
-       </li>
-       <li class="plugin" style="position: absolute; right: 0; bottom: 0; height: 40px">
-               Datepicker - positioned bottom-right
-               <div>
-                       <input type="text" id="d4">
-               </div>
-       </li>   
-</ul>
+<div id="datepicker"></div>
 
 </body>
 </html>
diff --git a/tests/visual/datepicker/datepicker_multi_inline.html b/tests/visual/datepicker/datepicker_multi_inline.html
new file mode 100644 (file)
index 0000000..988ada6
--- /dev/null
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8" />
+       <title>Simple Datepicker</title>
+       <link rel="stylesheet" href="../all.css" type="text/css">
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
+       <script type="text/javascript">
+       $(function() {
+               // simple datepicker
+               $('#d1').datepicker();
+               $('button.disable-d1').click(function(event){
+                       $('#d1').datepicker('disable');
+                       event.preventDefault();
+               });
+               $('button.enable-d1').click(function(event){
+                       $('#d1').datepicker('enable');
+                       event.preventDefault();
+               });
+               $('button.destroy-d1').click(function(event){
+                       $('#d1').datepicker('destroy');
+                       event.preventDefault();
+               });
+               
+               // multi datepicker
+               $('#d2').datepicker({numberOfMonths: 3, showButtonPanel: true});
+               $('button.disable-d2').click(function(event){
+                       $('#d2').datepicker('disable');
+                       event.preventDefault();
+               });
+               $('button.enable-d2').click(function(event){
+                       $('#d2').datepicker('enable');
+                       event.preventDefault();
+               });
+               $('button.destroy-d2').click(function(event){
+                       $('#d2').datepicker('destroy');
+                       event.preventDefault();
+               });
+               
+               // inline datepicker
+               $('#inl').datepicker({minDate: -20, maxDate: '+1M +10D'});
+               $('button.disable-inl').click(function(event){
+                       $('#inl').datepicker('disable');
+                       event.preventDefault();
+               });
+               $('button.enable-inl').click(function(event){
+                       $('#inl').datepicker('enable');
+                       event.preventDefault();
+               });
+               $('button.destroy-inl').click(function(event){
+                       $('#inl').datepicker('destroy');
+                       event.preventDefault();
+               });
+               
+               // disabled input datepicker
+               $('#d3').datepicker();          
+
+               // bottom-right datepicker
+               $('#d4').datepicker({numberOfMonths: 3});               
+       });
+       </script>
+</head>
+<body>
+
+<ul class="plugins">
+       <li class="plugin">
+               <button class="disable-d1">Disable</button>
+               <button class="enable-d1">Enable</button>
+               <button class="destroy-d1">Destroy</button>
+
+               Datepicker Simple
+               <div>
+                       <input type="text" id="d1" />
+               </div>
+       </li>
+       <li class="plugin">
+               <button class="disable-d2">Disable</button>
+               <button class="enable-d2">Enable</button>
+               <button class="destroy-d2">Destroy</button>
+
+               Datepicker Multi
+               <div>
+                       <input type="text" id="d2" />
+               </div>
+       </li>
+       <li class="plugin">
+               <button class="disable-inl">Disable</button>
+               <button class="enable-inl">Enable</button>
+               <button class="destroy-inl">Destroy</button>
+
+               Datepicker Inline
+               <div id="inl"></div>
+       </li>
+       <li class="plugin">
+               Datepicker disabled input
+               <div>
+                       <input type="text" id="d3" disabled="disabled" />
+               </div>
+       </li>
+       <li class="plugin" style="position: absolute; right: 0; bottom: 0; height: 40px">
+               Datepicker - positioned bottom-right
+               <div>
+                       <input type="text" id="d4">
+               </div>
+       </li>   
+</ul>
+
+</body>
+</html>
diff --git a/tests/visual/datepicker/default.html b/tests/visual/datepicker/default.html
deleted file mode 100644 (file)
index 760bcd9..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Datepicker Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $('#datepicker').datepicker();
-       });
-       </script>
-</head>
-<body>
-
-<div id="datepicker"></div>
-
-</body>
-</html>
diff --git a/tests/visual/dialog/default.html b/tests/visual/dialog/default.html
deleted file mode 100644 (file)
index 31ffda0..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Dialog Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("#dialog").dialog();
-       });
-       </script>
-</head>
-<body>
-
-<div id="dialog" title="Dialog Title">
-       <p>
-               Dialog Content
-       </p>
-</div>
-
-</body>
-</html>
index 5c2129050190d778f99548a063facd62718c172b..31ffda0b02476302fa84d4324b004c5e91c98643 100644 (file)
@@ -2,62 +2,31 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Dialog Visual Tests Page</title>
-       <link rel="stylesheet" href="../all.css" type="text/css">
+       <title>Dialog Visual Test : Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
        <script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
        <script type="text/javascript">
        $(function() {
-               // Simple Dialog
-               $("#dialog button").click(function() {
-                       $("#dlg").clone().removeAttr('id').dialog();
-               });
-
-               // Dialog with Buttons
-               var dlgbuttons = $("#dlgbuttons").dialog({
-                       autoOpen: false,
-                       width: 600,
-                       buttons: {
-                               Ok: function() {},
-                               Cancel: function() {}
-                       }
-               });
-               $("#dialogbuttons").click(function() {
-                       dlgbuttons.dialog('open');
-               });
-
+               $("#dialog").dialog();
        });
        </script>
 </head>
 <body>
 
-<ul class="plugins">
-<li class="plugin">
-       Dialog
-       <div id="dialog">
-               <button>Open</button>
-               <div id="dlg" title="Dialog Title">
-                       <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
-               </div>
-       </div>
-</li>
-<li class="plugin">
-       Dialog with buttons
-       <div id="dialogbuttons">
-               <button>Open</button>
-               <div id="dlgbuttons" title="Dialog Title">
-                       <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
-               </div>
-       </div>
-</li>
-</ul>
+<div id="dialog" title="Dialog Title">
+       <p>
+               Dialog Content
+       </p>
+</div>
 
 </body>
 </html>
diff --git a/tests/visual/draggable/default.html b/tests/visual/draggable/default.html
deleted file mode 100644 (file)
index 59166f3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Draggable Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("body").children(":first").draggable();
-       });
-       </script>
-</head>
-<body>
-
-<div><p>Draggable</p></div>
-
-</body>
-</html>
diff --git a/tests/visual/droppable/default.html b/tests/visual/droppable/default.html
deleted file mode 100644 (file)
index c49ec3a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Droppable Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.droppable.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("body").children(":first").droppable();
-       });
-       </script>
-</head>
-<body>
-
-<div><p>Droppable</p></div>
-
-</body>
-</html>
index b372fa1a499a8a0914bdf3458294c68be32afe68..0d306f70911391767255f9a03e8dd323b8c6b24b 100644 (file)
        <script type="text/javascript" src="../../../ui/jquery.ui.droppable.js"></script>
        <script type="text/javascript">
        $(function() {
-               $("#droppable").droppable();
+               $("#draggable").draggable();
+               $("#droppable").droppable({
+                       drop: function() {
+                               alert("Dropped something");
+                       }
+               });
        });
        </script>
 </head>
 <body>
+       <div id="draggable">
+       <p> Draggable </p>
+</div>
 <div id="droppable">
        <p> Droppable </p>
 </div>
index 4e36aff3154278cba148f125716c64243d40394d..ad46ddf8dff3ebf8022acd36d5f0fb24dd43c572 100644 (file)
 
 <h2>Interactions</h2>
 <ul>
-       <li><a href="draggable/default.html">Draggable</a></li>
-       <li><a href="droppable/default.html">Droppable</a></li>
-       <li><a href="resizable/default.html">Resizable</a></li>
-       <li><a href="selectable/default.html">Selectable</a></li>
-       <li><a href="sortable/default.html">Sortable</a></li>
+       <li><a href="draggable/draggable.html">Draggable</a></li>
+       <li><a href="droppable/droppable.html">Droppable</a></li>
+       <li><a href="resizable/resizable.html">Resizable</a></li>
+       <li><a href="selectable/selectable.html">Selectable</a></li>
+       <li><a href="sortable/sortable.html">Sortable</a></li>
 </ul>
 
 <h2>Widgets</h2>
 <ul>
-       <li><a href="accordion/default.html">Accordion</a></li>
-       <li><a href="autocomplete/default.html">Autocomplete</a></li>
-       <li><a href="button/default.html">Button</a></li>
-       <li><a href="datepicker/default.html">Datepicker</a></li>
-       <li><a href="dialog/default.html">Dialog</a></li>
-       <li><a href="progressbar/default.html">Progressbar</a></li>
-       <li><a href="slider/default.html">Slider</a></li>
-       <li><a href="tabs/default.html">Tabs</a></li>
+       <li><a href="accordion/accordion.html">Accordion</a></li>
+       <li><a href="autocomplete/autocomplete.html">Autocomplete</a></li>
+       <li><a href="button/button.html">Button</a></li>
+       <li><a href="datepicker/datepicker.html">Datepicker</a></li>
+       <li><a href="dialog/dialog.html">Dialog</a></li>
+       <li><a href="progressbar/progressbar.html">Progressbar</a></li>
+       <li><a href="slider/slider.html">Slider</a></li>
+       <li><a href="tabs/tabs.html">Tabs</a></li>
 </ul>
 
 </body>
diff --git a/tests/visual/menu/default.html b/tests/visual/menu/default.html
deleted file mode 100644 (file)
index 93c33d4..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<!doctype html>
-<html>
-<head>
-       <title>Menu Visual Test: Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
-       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
-       <script type="text/javascript">
-       $(function() {
-               $.fn.themeswitcher && $('<div/>').css({
-                       position: "absolute",
-                       right: 10,
-                       top: 10
-               }).appendTo(document.body).themeswitcher();
-               
-               var menus = $("#menu1, #menu2").menu({
-                       selected: function(event, ui) {
-                               $("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
-                       }
-               }).keydown(function(event) {
-                       var menu = $(this).data("menu");
-                       if (menu.widget().is(":hidden"))
-                               return;
-                       event.stopPropagation();
-                       switch (event.keyCode) {
-                       case $.ui.keyCode.PAGE_UP:
-                               menu.previousPage();
-                               event.preventDefault();
-                               break;
-                       case $.ui.keyCode.PAGE_DOWN:
-                               menu.nextPage();
-                               event.preventDefault();
-                               break;
-                       case $.ui.keyCode.UP:
-                               menu.previous();
-                               event.preventDefault();
-                               break;
-                       case $.ui.keyCode.DOWN:
-                               menu.next();
-                               event.preventDefault();
-                               break;
-                       case $.ui.keyCode.ENTER:
-                               menu.select();
-                               event.preventDefault();
-                               break;
-                       }
-               });
-
-       });
-       </script>
-       <style>
-               body { font-size:62.5%; }
-               .ui-menu { width: 200px; }
-               #menu2 { height: 200px; overflow: auto; }
-       </style>
-</head>
-<body>
-       
-<ul id="menu1" tabindex="0">
-       <li><a href="#">Aberdeen</a></li>
-       <li><a href="#">Ada</a></li>
-       <li><a href="#">Adamsville</a></li>
-       <li><a href="#">Addyston</a></li>
-       <li><a href="#">Adelphi</a></li>
-</ul>
-
-<ul id="menu2" tabindex="0">
-       <li><a href="#">Aberdeen</a></li>
-       <li><a href="#">Ada</a></li>
-       <li><a href="#">Adamsville</a></li>
-       <li><a href="#">Addyston</a></li>
-       <li><a href="#">Adelphi</a></li>
-       <li><a href="#">Adena</a></li>
-       <li><a href="#">Adrian</a></li>
-       <li><a href="#">Akron</a></li>
-       <li><a href="#">Albany</a></li>
-       <li><a href="#">Alexandria</a></li>
-       <li><a href="#">Alger</a></li>
-       <li><a href="#">Alledonia</a></li>
-       <li><a href="#">Alliance</a></li>
-       <li><a href="#">Alpha</a></li>
-       <li><a href="#">Alvada</a></li>
-       <li><a href="#">Alvordton</a></li>
-       <li><a href="#">Amanda</a></li>
-       <li><a href="#">Amelia</a></li>
-       <li><a href="#">Amesville</a></li>
-       <li><a href="#">Aberdeen</a></li>
-       <li><a href="#">Ada</a></li>
-       <li><a href="#">Adamsville</a></li>
-       <li><a href="#">Addyston</a></li>
-       <li><a href="#">Adelphi</a></li>
-       <li><a href="#">Adena</a></li>
-       <li><a href="#">Adrian</a></li>
-       <li><a href="#">Akron</a></li>
-       <li><a href="#">Albany</a></li>
-       <li><a href="#">Alexandria</a></li>
-       <li><a href="#">Alger</a></li>
-       <li><a href="#">Alledonia</a></li>
-       <li><a href="#">Alliance</a></li>
-       <li><a href="#">Alpha</a></li>
-       <li><a href="#">Alvada</a></li>
-       <li><a href="#">Alvordton</a></li>
-       <li><a href="#">Amanda</a></li>
-       <li><a href="#">Amelia</a></li>
-       <li><a href="#">Amesville</a></li>
-</ul>
-
-<div class="ui-widget" style="margin-top:2em; font-family:Arial">
-       Log:
-       <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
-</div>
-
-</body>
-</html>
diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html
new file mode 100644 (file)
index 0000000..93c33d4
--- /dev/null
@@ -0,0 +1,118 @@
+<!doctype html>
+<html>
+<head>
+       <title>Menu Visual Test: Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
+       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
+       <script type="text/javascript">
+       $(function() {
+               $.fn.themeswitcher && $('<div/>').css({
+                       position: "absolute",
+                       right: 10,
+                       top: 10
+               }).appendTo(document.body).themeswitcher();
+               
+               var menus = $("#menu1, #menu2").menu({
+                       selected: function(event, ui) {
+                               $("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
+                       }
+               }).keydown(function(event) {
+                       var menu = $(this).data("menu");
+                       if (menu.widget().is(":hidden"))
+                               return;
+                       event.stopPropagation();
+                       switch (event.keyCode) {
+                       case $.ui.keyCode.PAGE_UP:
+                               menu.previousPage();
+                               event.preventDefault();
+                               break;
+                       case $.ui.keyCode.PAGE_DOWN:
+                               menu.nextPage();
+                               event.preventDefault();
+                               break;
+                       case $.ui.keyCode.UP:
+                               menu.previous();
+                               event.preventDefault();
+                               break;
+                       case $.ui.keyCode.DOWN:
+                               menu.next();
+                               event.preventDefault();
+                               break;
+                       case $.ui.keyCode.ENTER:
+                               menu.select();
+                               event.preventDefault();
+                               break;
+                       }
+               });
+
+       });
+       </script>
+       <style>
+               body { font-size:62.5%; }
+               .ui-menu { width: 200px; }
+               #menu2 { height: 200px; overflow: auto; }
+       </style>
+</head>
+<body>
+       
+<ul id="menu1" tabindex="0">
+       <li><a href="#">Aberdeen</a></li>
+       <li><a href="#">Ada</a></li>
+       <li><a href="#">Adamsville</a></li>
+       <li><a href="#">Addyston</a></li>
+       <li><a href="#">Adelphi</a></li>
+</ul>
+
+<ul id="menu2" tabindex="0">
+       <li><a href="#">Aberdeen</a></li>
+       <li><a href="#">Ada</a></li>
+       <li><a href="#">Adamsville</a></li>
+       <li><a href="#">Addyston</a></li>
+       <li><a href="#">Adelphi</a></li>
+       <li><a href="#">Adena</a></li>
+       <li><a href="#">Adrian</a></li>
+       <li><a href="#">Akron</a></li>
+       <li><a href="#">Albany</a></li>
+       <li><a href="#">Alexandria</a></li>
+       <li><a href="#">Alger</a></li>
+       <li><a href="#">Alledonia</a></li>
+       <li><a href="#">Alliance</a></li>
+       <li><a href="#">Alpha</a></li>
+       <li><a href="#">Alvada</a></li>
+       <li><a href="#">Alvordton</a></li>
+       <li><a href="#">Amanda</a></li>
+       <li><a href="#">Amelia</a></li>
+       <li><a href="#">Amesville</a></li>
+       <li><a href="#">Aberdeen</a></li>
+       <li><a href="#">Ada</a></li>
+       <li><a href="#">Adamsville</a></li>
+       <li><a href="#">Addyston</a></li>
+       <li><a href="#">Adelphi</a></li>
+       <li><a href="#">Adena</a></li>
+       <li><a href="#">Adrian</a></li>
+       <li><a href="#">Akron</a></li>
+       <li><a href="#">Albany</a></li>
+       <li><a href="#">Alexandria</a></li>
+       <li><a href="#">Alger</a></li>
+       <li><a href="#">Alledonia</a></li>
+       <li><a href="#">Alliance</a></li>
+       <li><a href="#">Alpha</a></li>
+       <li><a href="#">Alvada</a></li>
+       <li><a href="#">Alvordton</a></li>
+       <li><a href="#">Amanda</a></li>
+       <li><a href="#">Amelia</a></li>
+       <li><a href="#">Amesville</a></li>
+</ul>
+
+<div class="ui-widget" style="margin-top:2em; font-family:Arial">
+       Log:
+       <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
+</div>
+
+</body>
+</html>
diff --git a/tests/visual/position/default.html b/tests/visual/position/default.html
deleted file mode 100644 (file)
index 364fd32..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Position Visual Test: Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
-       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
-       <script type="text/javascript">
-       $(function() {
-               var ul = $("ul");
-               $("input").each(function() {
-                       $(this).position({
-                               my: this.id.replace(/-/, " "),
-                               at: this.id.replace(/-/, " "),
-                               of: "#container",
-                               collision: "none"
-                       });
-                       ul.clone().insertAfter(this).menu().position({
-                               my: "left top",
-                               at: "left bottom",
-                               of: this
-                       });
-               });
-               ul.remove();
-       });
-       </script>
-       <style>
-               input, .ui-menu { position: absolute; }
-               .ui-menu { width: 200px; }
-               html, body { width: 100%; height: 100% }
-               #container { width: 95%; height: 95%; border: 1px solid black; margin: auto; }
-       </style>
-</head>
-<body>
-
-<div id="container"></div>
-
-<input id="left-top" />
-<input id="left-center" />
-<input id="left-bottom" />
-<input id="center-top" />
-<input id="center-center" />
-<input id="center-bottom" />
-<input id="right-top" />
-<input id="right-center" />
-<input id="right-bottom" />
-
-<ul>
-       <li><a href="#">Java</a></li>
-       <li><a href="#">JavaScript</a></li>
-       <li><a href="#">Perl</a></li>
-       <li><a href="#">Ruby</a></li>
-       <li><a href="#">C++</a></li>
-       <li><a href="#">Python</a></li>
-       <li><a href="#">C#</a></li>
-</ul>
-
-</body>
-</html>
diff --git a/tests/visual/position/position.html b/tests/visual/position/position.html
new file mode 100644 (file)
index 0000000..364fd32
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8" />
+       <title>Position Visual Test: Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script>
+       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
+       <script type="text/javascript">
+       $(function() {
+               var ul = $("ul");
+               $("input").each(function() {
+                       $(this).position({
+                               my: this.id.replace(/-/, " "),
+                               at: this.id.replace(/-/, " "),
+                               of: "#container",
+                               collision: "none"
+                       });
+                       ul.clone().insertAfter(this).menu().position({
+                               my: "left top",
+                               at: "left bottom",
+                               of: this
+                       });
+               });
+               ul.remove();
+       });
+       </script>
+       <style>
+               input, .ui-menu { position: absolute; }
+               .ui-menu { width: 200px; }
+               html, body { width: 100%; height: 100% }
+               #container { width: 95%; height: 95%; border: 1px solid black; margin: auto; }
+       </style>
+</head>
+<body>
+
+<div id="container"></div>
+
+<input id="left-top" />
+<input id="left-center" />
+<input id="left-bottom" />
+<input id="center-top" />
+<input id="center-center" />
+<input id="center-bottom" />
+<input id="right-top" />
+<input id="right-center" />
+<input id="right-bottom" />
+
+<ul>
+       <li><a href="#">Java</a></li>
+       <li><a href="#">JavaScript</a></li>
+       <li><a href="#">Perl</a></li>
+       <li><a href="#">Ruby</a></li>
+       <li><a href="#">C++</a></li>
+       <li><a href="#">Python</a></li>
+       <li><a href="#">C#</a></li>
+</ul>
+
+</body>
+</html>
diff --git a/tests/visual/progressbar/default.html b/tests/visual/progressbar/default.html
deleted file mode 100644 (file)
index f18cc14..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Progressbar Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               var bars = $("#progressbar1, #progressbar2, #progressbar3").progressbar();
-               
-               $("#progress").keyup(function() {
-                       bars.progressbar("value", +this.value);
-               }).keyup();
-       });
-       </script>
-</head>
-<body>
-
-<div id="progressbar1"></div>
-<div id="progressbar2" style="width:300px"></div>
-<div id="progressbar3" style="width:100px"></div>
-
-<input id="progress" value="10" />
-
-</body>
-</html>
index 16727251279f2ac0254934d4cf5d91db1f766712..44cd47e02ee5a892a8ff455a6dc68706fb1fd4da 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Simple Progressbar</title>
+       <title>Progressbar Visual Test: Default</title>
        <link rel="stylesheet" href="../all.css" type="text/css" />
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
diff --git a/tests/visual/resizable/default.html b/tests/visual/resizable/default.html
deleted file mode 100644 (file)
index 43338f9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Resizable Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("#resizable").resizable();
-       });
-       </script>
-</head>
-<body>
-
-<div id="resizable">
-       <p>
-               Resizable
-       </p>
-</div>
-
-</body>
-</html>
diff --git a/tests/visual/selectable/default.html b/tests/visual/selectable/default.html
deleted file mode 100644 (file)
index 53dd44d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Selectable Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.selectable.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("#selectable").selectable();
-       });
-       </script>
-</head>
-<body>
-
-<div id="selectable">
-       <div>Selectable 1</div>
-       <div>Selectable 2</div>
-       <div>Selectable 3</div>
-</div>
-
-</body>
-</html>
index 21fc2b9dd38aff4726e82f91595cbdc8d53f8c9e..ef4f9c11f98678018b551b5ebdd7d9596763bab7 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Simple Selectable</title>
+       <title>Selectable Visual Test : Default</title>
        <link rel="stylesheet" href="../all.css" type="text/css">
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
diff --git a/tests/visual/slider/default.html b/tests/visual/slider/default.html
deleted file mode 100644 (file)
index f1ec61b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Slider Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.slider.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("body").children(":first").slider();
-       });
-       </script>
-</head>
-<body>
-
-<div></div>
-
-</body>
-</html>
diff --git a/tests/visual/slider/default_vertical.html b/tests/visual/slider/default_vertical.html
deleted file mode 100644 (file)
index 454e37c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Slider Visual Test : Default vertical</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.slider.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("body").children(":first").slider({
-                       orientation: 'vertical'
-               });
-       });
-       </script>
-</head>
-<body>
-
-<div></div>
-
-</body>
-</html>
index 37311ab13098008a425e18e9fdd371ea71f79fbf..6b79b1eac9049afaf69d3c55e5623c063717f97a 100644 (file)
@@ -2,8 +2,8 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Slider Visual Test Page</title>
-       <link rel="stylesheet" href="../all.css" type="text/css">
+       <title>Slider Visual Test : Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
        <script type="text/javascript">
        $(function() {
                $("#slider1").slider();
-               $("#slider2").slider({
-                       step: 2,
-                       start: function(event, ui) {
-                               //console.log('start');
-                       },
-                       slide: function(event, ui) {
-                               //console.log('slide');
-                               //return (ui.value < 50 || ui.value > 63);
-                       },
-                       stop: function(event, ui) {
-                               //console.log('stop');
-                       },
-                       change: function(event, ui) {
-                               //console.log('change');
-                       },
-                       values: [10, 50, 90]
-               });
-               $("#slider3").slider({
-                       max: 10,
-                       orientation: 'vertical',
-                       step: 2,
-                       value: 3
-               });
-               $("#h-range-true").slider({ orientation: "horizontal", range: true });
-               $("#h-range-max").slider({ orientation: "horizontal", range: 'max' });
-               $("#h-range-min").slider({ orientation: "horizontal", range: 'min' });
-               $("#v-range-true").slider({ orientation: "vertical", range: true });
-               $("#v-range-max").slider({ orientation: "vertical", range: 'max' });
-               $("#v-range-min").slider({ orientation: "vertical", range: 'min' });
        });
        </script>
 </head>
-
 <body>
 
-<ul class="plugins">
-
-<li class="plugin" style="padding:1em;">
-       Slider
-       <div id="slider1"></div>
-</li>
-
-<li class="plugin" style="padding:1em;">
-       Slider - values: [10, 50, 90]
-       <div id="slider2">
-               <a id="foo" href="#" class="ui-slider-handle"></a>
-               <a id="bar" href="#" class="ui-slider-handle"></a>
-       </div>
-</li>
-
-<li class="plugin" style="padding:1em;">
-       Slider - orientation: vertical
-       <div id="slider3" style="height:100%;"></div>
-</li>
-
-</ul>
-
-<ul class="plugins">
-
-<li class="plugin" style="padding:1em;">
-       Slider - range: true
-       <div id="h-range-true"></div>
-</li>
-
-<li class="plugin" style="padding:1em;">
-       Slider - range: 'max'
-       <div id="h-range-max"></div>
-</li>
-
-<li class="plugin" style="padding:1em;">
-       Slider - range: 'min'
-       <div id="h-range-min"></div>
-</li>
-
-</ul>
-
-<ul class="plugins">
-
-<li class="plugin" style="padding:1em;">
-       Slider - range: true
-       <div id="v-range-true"></div>
-</li>
-
-<li class="plugin" style="padding:1em;">
-       Slider - range: 'max'
-       <div id="v-range-max"></div>
-</li>
-
-<li class="plugin" style="padding:1em;">
-       Slider - range: 'min'
-       <div id="v-range-min"></div>
-</li>
-
-</ul>
+<div id="slider1"></div>
 
 </body>
 </html>
diff --git a/tests/visual/sortable/default.html b/tests/visual/sortable/default.html
deleted file mode 100644 (file)
index 5823929..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Sortable Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.sortable.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("body").children(":first").sortable();
-       });
-       </script>
-</head>
-<body>
-
-<div><div>Sortable 1</div><div>Sortable 2</div><div>Sortable 3</div></div>
-
-</body>
-</html>
index 6bc8fb8b2ade74060857fe82cb73fa945bc9b6ea..1fb08993e014a31fbedd9b66a77302757982c4ce 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Simple Sortable</title>
+       <title>Sortable Visual Test : Default</title>
        <link rel="stylesheet" href="../all.css" type="text/css">
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" />
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
diff --git a/tests/visual/tabs/default.html b/tests/visual/tabs/default.html
deleted file mode 100644 (file)
index ff444ca..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-       <meta charset="UTF-8" />
-       <title>Tabs Visual Test : Default</title>
-       <link rel="stylesheet" href="../visual.css" type="text/css" />
-       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
-       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-       <script type="text/javascript" src="../../../ui/jquery.ui.tabs.js"></script>
-       <script type="text/javascript">
-       $(function() {
-               $("#tabs").tabs();
-       });
-       </script>
-</head>
-<body>
-
-<div id="tabs">
-       <ul>
-               <li><a href="#tabs-1">First</a></li>
-               <li><a href="#tabs-2">Second</a></li>
-               <li><a href="#tabs-3">Third</a></li>
-       </ul>
-       <div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
-       <div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
-       <div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
-</div>
-
-</body>
-</html>
index fe9a87d017968e5ac0c69dd0b9844a343864f5fa..ff444cad5c0e07d388a71e3954bc4d6974d13bf6 100644 (file)
@@ -2,8 +2,8 @@
 <html lang="en">
 <head>
        <meta charset="UTF-8" />
-       <title>Simple Tabs</title>
-       <link rel="stylesheet" href="../all.css" type="text/css">
+       <title>Tabs Visual Test : Default</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
        <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
        <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
        <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
 </head>
 <body>
 
-<ul class="plugins">
-<li class="plugin">
-       Tabs
-       <div id="tabs">
-               <ul>
-                       <li><a href="#tabs-1">First</a></li>
-                       <li><a href="#tabs-2">Second</a></li>
-                       <li><a href="#tabs-3">Third</a></li>
-               </ul>
-               <div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
-               <div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
-               <div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
-       </div>
-</li>
-</ul>
+<div id="tabs">
+       <ul>
+               <li><a href="#tabs-1">First</a></li>
+               <li><a href="#tabs-2">Second</a></li>
+               <li><a href="#tabs-3">Third</a></li>
+       </ul>
+       <div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
+       <div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
+       <div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
+</div>
 
 </body>
 </html>
index fb2b99f1ce4cdf88e7eb3e750d7efda6af0cb688..b61fc0e9dbf941d5f0610b1cf51eca5edb77076a 100644 (file)
@@ -1,2 +1,3 @@
 body { font-size: 62.5%; }
-#draggable { width: 100px; height: 100px; background: #abc; }
+#draggable, #resizable { width: 100px; height: 100px; background: #abc; }
+#droppable { width: 100px; height: 100px; background: #cde; }