r2032 - trunk/tests/visual/draggable

r2032 - trunk/tests/visual/draggable


Author: rdworth
Date: Sat Feb 7 06:27:27 2009
New Revision: 2032
Added:
trunk/tests/visual/draggable/draggable_option_iframeFix_false.html
(contents, props changed)
trunk/tests/visual/draggable/draggable_option_iframeFix_selector.html
(contents, props changed)
trunk/tests/visual/draggable/draggable_option_iframeFix_true.html
(contents, props changed)
Removed:
trunk/tests/visual/draggable/draggable_option_cursorAt_array.html
Modified:
trunk/tests/visual/draggable/draggable.html
trunk/tests/visual/draggable/draggable_option_containment_array.html
trunk/tests/visual/draggable/draggable_option_cursorAt_object.html
trunk/tests/visual/draggable/draggable_option_handle_selector.html
Log:
draggable unit tests: added option iframeFix tests
Modified: trunk/tests/visual/draggable/draggable.html
==============================================================================
--- trunk/tests/visual/draggable/draggable.html    (original)
+++ trunk/tests/visual/draggable/draggable.html    Sat Feb 7 06:27:27 2009
@@ -1,8 +1,8 @@
<!doctype html>
<html lang="en">
<head>
-    <title>Simple Draggable</title>
-    <link rel="stylesheet" href="../all.css" type="text/css">
+    <title>Draggable Visual Test : Default</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.1.js"></script>
    <script type="text/javascript" src="../../../ui/ui.core.js"></script>
@@ -14,13 +14,8 @@
    </script>
</head>
<body>
-
-<ul class="plugins">
-<li class="plugin">
-    Draggable
-    <div id="draggable"></div>
-</li>
-</ul>
-
+<div id="draggable">
+    

Draggable


+</div>
</body>
</html>
Modified:
trunk/tests/visual/draggable/draggable_option_containment_array.html
==============================================================================
--- trunk/tests/visual/draggable/draggable_option_containment_array.html    
(original)
+++ trunk/tests/visual/draggable/draggable_option_containment_array.html    
Sat Feb 7 06:27:27 2009
@@ -9,7 +9,6 @@
    <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
    <script type="text/javascript">
    $(function() {
-        $("#draggable").css({ width: 100, height: 100, background: '#abc' });
        $("#draggable").draggable({
            containment: [50, 100, 400, 350]
        });
Modified: trunk/tests/visual/draggable/draggable_option_cursorAt_object.html
==============================================================================
--- trunk/tests/visual/draggable/draggable_option_cursorAt_object.html    
(original)
+++ trunk/tests/visual/draggable/draggable_option_cursorAt_object.html    Sat
Feb 7 06:27:27 2009
@@ -9,7 +9,6 @@
    <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
    <script type="text/javascript">
    $(function() {
-        $("#draggable").css({ width: 100, height: 100, background: '#abc' });
        $("#draggable").draggable({
            cursorAt: { top: -15, right: 15 }
        });
Modified: trunk/tests/visual/draggable/draggable_option_handle_selector.html
==============================================================================
--- trunk/tests/visual/draggable/draggable_option_handle_selector.html    
(original)
+++ trunk/tests/visual/draggable/draggable_option_handle_selector.html    Sat
Feb 7 06:27:27 2009
@@ -9,7 +9,6 @@
    <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
    <script type="text/javascript">
    $(function() {
-        $("#draggable").css({ width: 100, height: 100, background: '#abc' });
        $("#draggable").draggable({
            handle: ".handle"
        });
Added: trunk/tests/visual/draggable/draggable_option_iframeFix_false.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/draggable/draggable_option_iframeFix_false.html    Sat
Feb 7 06:27:27 2009
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <title>Draggable Visual Test : Draggable option iframeFix false</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.1.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+    <script type="text/javascript">
+    $(function() {
+        $("#draggable").draggable({
+            cursorAt: { top: -10, left: -10 },
+            iframeFix: false
+        });
+    });
+    </script>
+</head>
+<body>
+<div id="draggable">
+    

Draggable


+</div>
+<iframe id="iframe1"></iframe>
+<iframe id="iframe2"></iframe>
+<iframe id="iframe3"></iframe>
+</body>
+</html>
Added: trunk/tests/visual/draggable/draggable_option_iframeFix_selector.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/draggable/draggable_option_iframeFix_selector.html    
Sat Feb 7 06:27:27 2009
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <title>Draggable Visual Test : Draggable option iframeFix selector</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.1.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+    <script type="text/javascript">
+    $(function() {
+        $("#draggable").draggable({
+            cursorAt: { top: -10, left: -10 },
+            iframeFix: "#iframe2"
+        });
+    });
+    </script>
+</head>
+<body>
+<div id="draggable">
+    

Draggable


+</div>
+<iframe id="iframe1"></iframe>
+<iframe id="iframe2"></iframe>
+<iframe id="iframe3"></iframe>
+</body>
+</html>
Added: trunk/tests/visual/draggable/draggable_option_iframeFix_true.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/draggable/draggable_option_iframeFix_true.html    Sat
Feb 7 06:27:27 2009
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <title>Draggable Visual Test : Draggable option iframeFix true</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.1.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+    <script type="text/javascript">
+    $(function() {
+        $("#draggable").draggable({
+            cursorAt: { top: -10, left: -10 },
+            iframeFix: true
+        });
+    });
+    </script>
+</head>
+<body>
+<div id="draggable">
+    

Draggable


+</div>
+<iframe id="iframe1"></iframe>
+<iframe id="iframe2"></iframe>
+<iframe id="iframe3"></iframe>
+</body>
+</html>