aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html')
-rw-r--r--tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html b/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html
new file mode 100644
index 000000000..e206245ff
--- /dev/null
+++ b/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <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>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#resizable").resizable({
+ aspectRatio: 'preserve'
+ });
+ });
+ </script>
+ <style type="text/css">
+ #resizable { width: 50px; height: 100px; background: silver; }
+ </style>
+</head>
+<body>
+
+<div id="resizable">Resizable</div>
+
+</body>
+</html>