aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r--tests/unit/dialog/dialog_methods.js3
-rw-r--r--tests/unit/dialog/dialog_options.js8
2 files changed, 6 insertions, 5 deletions
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 = $("<form><input type='radio' name='radio' id='a' value='a' checked='checked'></input>" +
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 = $("<div></div>").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 = $("<div></div>").dialog({