]> source.dussan.org Git - jquery-ui.git/commitdiff
dialog visual tests: Added new test 'Dialog on page with scrollbars'
authorRichard Worth <rdworth@gmail.com>
Thu, 29 Jan 2009 13:10:01 +0000 (13:10 +0000)
committerRichard Worth <rdworth@gmail.com>
Thu, 29 Jan 2009 13:10:01 +0000 (13:10 +0000)
tests/visual/dialog/dialog_on_page_with_scrollbars.html [new file with mode: 0644]

diff --git a/tests/visual/dialog/dialog_on_page_with_scrollbars.html b/tests/visual/dialog/dialog_on_page_with_scrollbars.html
new file mode 100644 (file)
index 0000000..5689b05
--- /dev/null
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+       <title>Dialog Visual Test : Dialog on page with scrollbars</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.dialog.js"></script>
+       <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+       <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+       <script type="text/javascript">
+       $(function() {
+               $("#dialog").dialog();
+       });
+       </script>
+</head>
+<body style="height:2000px;">
+
+<div id="dialog" title="Dialog Title">
+       <p> Dialog Content </p>
+</div>
+
+</body>
+</html>