From 9f382c5814fc890f9f7a3792c7091e3a8675aee3 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sat, 31 Jan 2009 05:47:58 +0000 Subject: [PATCH] dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next. --- tests/unit/dialog/dialog.js | 1 + .../dialog/dialog_option_modal_false.html | 54 +++++++++---------- .../dialog/dialog_option_modal_true.html | 54 +++++++++---------- .../dialog/dialog_option_shadow_false.html | 27 ++++++++++ .../dialog/dialog_option_shadow_true.html | 27 ++++++++++ ui/ui.dialog.js | 2 +- 6 files changed, 110 insertions(+), 55 deletions(-) create mode 100644 tests/visual/dialog/dialog_option_shadow_false.html create mode 100644 tests/visual/dialog/dialog_option_shadow_true.html 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 @@ - - - - Dialog Visual Test : Dialog option modal false - - - - - - - - - - - -
-

Dialog Content

-
- - - + + + + Dialog Visual Test : Dialog option modal false + + + + + + + + + + + +
+

Dialog Content

+
+ + + 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 @@ - - - - Dialog Visual Test : Dialog option modal true - - - - - - - - - - - -
-

Dialog Content

-
- - - + + + + Dialog Visual Test : Dialog option modal true + + + + + + + + + + + +
+

Dialog Content

+
+ + + 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 @@ + + + + Dialog Visual Test : Dialog option shadow false + + + + + + + + + + + +
+

Dialog Content

+
+ + + 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 @@ + + + + Dialog Visual Test : Dialog option shadow true + + + + + + + + + + + +
+

Dialog Content

+
+ + + diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 58f8457b8..ac43fcdc3 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -522,7 +522,7 @@ $.extend($.ui.dialog, { modal: false, position: 'center', resizable: true, - shadow: true, + shadow: false, stack: true, title: '', width: 300,