From 6d7589351eae1e180579fc0c87885e5ab7a73f48 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 20 Oct 2014 19:18:34 -0400 Subject: All: Drop support for IE7 Fixes #9838 Closes gh-1365 --- tests/unit/dialog/dialog_methods.js | 3 ++- tests/unit/dialog/dialog_options.js | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'tests/unit/dialog') diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js index d315e5fc3..c449ad0d4 100644 --- a/tests/unit/dialog/dialog_methods.js +++ b/tests/unit/dialog/dialog_methods.js @@ -193,7 +193,8 @@ test("open", function() { ok(element.dialog("widget").is(":visible") && !element.dialog("widget").is(":hidden"), "dialog visible after open method called"); }); -test("#6137: dialog('open') causes form elements to reset on IE7", function() { +// http://bugs.jqueryui.com/ticket/6137 +test("Ensure form elements don't reset when opening a dialog", function() { expect(2); var d1 = $("
" + diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index 87f3553be..3e5444c67 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/dialog_options.js @@ -371,9 +371,9 @@ test("minWidth", function() { test( "position, default center on window", function() { expect( 2 ); - // dialogs alter the window width and height in FF and IE7 + // dialogs alter the window width and height in Firefox // so we collect that information before creating the dialog - // Support: FF, IE7 + // Support: Firefox var winWidth = $( window ).width(), winHeight = $( window ).height(), element = $("
").dialog(), @@ -387,9 +387,9 @@ test( "position, default center on window", function() { test( "position, right bottom at right bottom via ui.position args", function() { expect( 2 ); - // dialogs alter the window width and height in FF and IE7 + // dialogs alter the window width and height in Firefox // so we collect that information before creating the dialog - // Support: FF, IE7 + // Support: Firefox var winWidth = $( window ).width(), winHeight = $( window ).height(), element = $("
").dialog({ -- cgit v1.2.3