diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-12-19 03:05:01 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-12-19 03:05:01 +0000 |
commit | 03f07556bdefc83f1b3738cc100cb199c80ec590 (patch) | |
tree | 132590f3480265b94290a7b8fc21c728d1032de4 /tests | |
parent | 3af7184f03eb0e0a13deedc3d2c041fa62e71cb3 (diff) | |
download | jquery-ui-03f07556bdefc83f1b3738cc100cb199c80ec590.tar.gz jquery-ui-03f07556bdefc83f1b3738cc100cb199c80ec590.zip |
Dialog: Fixed #3648: Use new CSS framework.
- Removed .ui-dialog-container div.
- Removed autoResize option.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dialog.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/dialog.js b/tests/dialog.js index 438db2e9d..aa91037c7 100644 --- a/tests/dialog.js +++ b/tests/dialog.js @@ -8,7 +8,6 @@ var defaults = { autoOpen: true, - autoResize: true, buttons: {}, closeOnEscape: true, closeText: 'close', @@ -252,31 +251,6 @@ test("autoOpen", function() { el.remove(); }); -test("autoResize", function() { - expect(2); - - var actual, - before, - expected, - handle; - - el = $('<div>content<br>content<br>content<br>content<br>content</div>').dialog({ autoResize: false }); - expected = { height: el.height() }; - handle = $(".ui-resizable-se", dlg()); - drag(handle, 50, 50); - actual = { height: el.height() }; - same(actual, expected, '.dialog({ autoResize: false })'); - el.remove(); - el = $('<div>content<br>content<br>content<br>content<br>content</div>').dialog({ autoResize: true }); - before = { width: el.width(), height: el.height() }; - handle = $(".ui-resizable-se", dlg()); - drag(handle, 50, 50); - expected = { width: before.width + 50, height: before.height + 50 }; - actual = { width: el.width(), height: el.height() }; - same(actual, expected, '.dialog({ autoResize: true })'); - el.remove(); -}); - test("buttons", function() { expect(17); |