r2046 - trunk/tests/visual/resizable
Author: rdworth
Date: Sat Feb 7 22:10:29 2009
New Revision: 2046
Added:
trunk/tests/visual/resizable/resizable_option_preventDefault_false.html
(contents, props changed)
trunk/tests/visual/resizable/resizable_option_preventDefault_true.html
(contents, props changed)
Modified:
trunk/tests/visual/resizable/resizable.html
Log:
resizable visual tests: added option preventDefault tests
Modified: trunk/tests/visual/resizable/resizable.html
==============================================================================
--- trunk/tests/visual/resizable/resizable.html (original)
+++ trunk/tests/visual/resizable/resizable.html Sat Feb 7 22:10:29 2009
@@ -1,8 +1,8 @@
<!doctype html>
<html lang="en">
<head>
- <title>Simple Resizable</title>
- <link rel="stylesheet" href="../all.css" type="text/css">
+ <title>Resizable 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>
@@ -15,12 +15,7 @@
</head>
<body>
-<ul class="plugins">
-<li class="plugin">
- Resizable
- <div id="resizable"></div>
-</li>
-</ul>
+<div id="resizable">Resizable</div>
</body>
</html>
Added:
trunk/tests/visual/resizable/resizable_option_preventDefault_false.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/resizable/resizable_option_preventDefault_false.html
Sat Feb 7 22:10:29 2009
@@ -0,0 +1,23 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Resizable Visual Test : Resizable option preventDefault
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.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#resizable").resizable({
+ preventDefault: false
+ });
+ });
+ </script>
+</head>
+<body>
+
+<textarea id="resizable">Resizable</texarea>
+
+</body>
+</html>
Added:
trunk/tests/visual/resizable/resizable_option_preventDefault_true.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/resizable/resizable_option_preventDefault_true.html
Sat Feb 7 22:10:29 2009
@@ -0,0 +1,23 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Resizable Visual Test : Resizable option preventDefault
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.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#resizable").resizable({
+ preventDefault: true
+ });
+ });
+ </script>
+</head>
+<body>
+
+<textarea id="resizable">Resizable</texarea>
+
+</body>
+</html>