From 03f07556bdefc83f1b3738cc100cb199c80ec590 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 19 Dec 2008 03:05:01 +0000 Subject: Dialog: Fixed #3648: Use new CSS framework. - Removed .ui-dialog-container div. - Removed autoResize option. --- tests/dialog.js | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'tests') 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 = $('
content
content
content
content
content
').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 = $('
content
content
content
content
content
').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); -- cgit v1.2.3