From: Richard Worth Date: Sat, 31 Jan 2009 05:47:58 +0000 (+0000) Subject: dialog: changed shadow default to false. Not quite ready to be on by default. Maybe... X-Git-Tag: 1.6~139 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f382c5814fc890f9f7a3792c7091e3a8675aee3;p=jquery-ui.git dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next. --- 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,