diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-31 05:47:58 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-31 05:47:58 +0000 |
commit | 9f382c5814fc890f9f7a3792c7091e3a8675aee3 (patch) | |
tree | 3b9113898ee6478123b7c315edf6045b9afb5c52 /tests | |
parent | 272391bd2f0880711c8af64c9a87c6b06ced8e03 (diff) | |
download | jquery-ui-9f382c5814fc890f9f7a3792c7091e3a8675aee3.tar.gz jquery-ui-9f382c5814fc890f9f7a3792c7091e3a8675aee3.zip |
dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/dialog/dialog.js | 1 | ||||
-rw-r--r-- | tests/visual/dialog/dialog_option_modal_false.html | 54 | ||||
-rw-r--r-- | tests/visual/dialog/dialog_option_modal_true.html | 54 | ||||
-rw-r--r-- | tests/visual/dialog/dialog_option_shadow_false.html | 27 | ||||
-rw-r--r-- | tests/visual/dialog/dialog_option_shadow_true.html | 27 |
5 files changed, 109 insertions, 54 deletions
diff --git a/tests/unit/dialog/dialog.js b/tests/unit/dialog/dialog.js index 626d5e92a..f71ad2ab6 100644 --- a/tests/unit/dialog/dialog.js +++ b/tests/unit/dialog/dialog.js @@ -22,6 +22,7 @@ var defaults = { modal: false, position: 'center', resizable: true, + shadow: false, stack: true, title: '', width: 300 diff --git a/tests/visual/dialog/dialog_option_modal_false.html b/tests/visual/dialog/dialog_option_modal_false.html index 647d9288a..325c5d61c 100644 --- a/tests/visual/dialog/dialog_option_modal_false.html +++ b/tests/visual/dialog/dialog_option_modal_false.html @@ -1,27 +1,27 @@ -<!doctype html>
-<html lang="en">
-<head>
- <title>Dialog Visual Test : Dialog option modal 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.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({
- modal: false
- });
- });
- </script>
-</head>
-<body>
-
-<div id="dialog" title="Dialog Title">
- <p> Dialog Content </p>
-</div>
-
-</body>
-</html>
+<!doctype html> +<html lang="en"> +<head> + <title>Dialog Visual Test : Dialog option modal 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.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({ + modal: false + }); + }); + </script> +</head> +<body> + +<div id="dialog" title="Dialog Title"> + <p> Dialog Content </p> +</div> + +</body> +</html> diff --git a/tests/visual/dialog/dialog_option_modal_true.html b/tests/visual/dialog/dialog_option_modal_true.html index 75a1a0d6b..82af4cad8 100644 --- a/tests/visual/dialog/dialog_option_modal_true.html +++ b/tests/visual/dialog/dialog_option_modal_true.html @@ -1,27 +1,27 @@ -<!doctype html>
-<html lang="en">
-<head>
- <title>Dialog Visual Test : Dialog option modal 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.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({
- modal: true
- });
- });
- </script>
-</head>
-<body>
-
-<div id="dialog" title="Dialog Title">
- <p> Dialog Content </p>
-</div>
-
-</body>
-</html>
+<!doctype html> +<html lang="en"> +<head> + <title>Dialog Visual Test : Dialog option modal 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.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({ + modal: true + }); + }); + </script> +</head> +<body> + +<div id="dialog" title="Dialog Title"> + <p> Dialog Content </p> +</div> + +</body> +</html> diff --git a/tests/visual/dialog/dialog_option_shadow_false.html b/tests/visual/dialog/dialog_option_shadow_false.html new file mode 100644 index 000000000..7d7afeff3 --- /dev/null +++ b/tests/visual/dialog/dialog_option_shadow_false.html @@ -0,0 +1,27 @@ +<!doctype html> +<html lang="en"> +<head> + <title>Dialog Visual Test : Dialog option shadow 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.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({ + shadow: false + }); + }); + </script> +</head> +<body> + +<div id="dialog" title="Dialog Title"> + <p> Dialog Content </p> +</div> + +</body> +</html> diff --git a/tests/visual/dialog/dialog_option_shadow_true.html b/tests/visual/dialog/dialog_option_shadow_true.html new file mode 100644 index 000000000..120015aad --- /dev/null +++ b/tests/visual/dialog/dialog_option_shadow_true.html @@ -0,0 +1,27 @@ +<!doctype html> +<html lang="en"> +<head> + <title>Dialog Visual Test : Dialog option shadow 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.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({ + shadow: true + }); + }); + </script> +</head> +<body> + +<div id="dialog" title="Dialog Title"> + <p> Dialog Content </p> +</div> + +</body> +</html> |