diff options
author | Scott González <scott.gonzalez@gmail.com> | 2014-10-20 19:18:34 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-10-21 09:06:58 -0400 |
commit | 6d7589351eae1e180579fc0c87885e5ab7a73f48 (patch) | |
tree | 3b3b0c0bfc698148dd75d9f0d1fbb8af31c59724 /tests | |
parent | faf87d992455280182edef015c8733313744a739 (diff) | |
download | jquery-ui-6d7589351eae1e180579fc0c87885e5ab7a73f48.tar.gz jquery-ui-6d7589351eae1e180579fc0c87885e5ab7a73f48.zip |
All: Drop support for IE7
Fixes #9838
Closes gh-1365
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/accordion/accordion.html | 4 | ||||
-rw-r--r-- | tests/unit/dialog/dialog_methods.js | 3 | ||||
-rw-r--r-- | tests/unit/dialog/dialog_options.js | 8 | ||||
-rw-r--r-- | tests/unit/menu/menu.html | 4 | ||||
-rw-r--r-- | tests/unit/selectable/selectable_events.js | 7 |
5 files changed, 8 insertions, 18 deletions
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html index 5a76ba566..0a8755fd3 100644 --- a/tests/unit/accordion/accordion.html +++ b/tests/unit/accordion/accordion.html @@ -35,10 +35,6 @@ font-size: 12px; line-height: 15px; } - /* avoid IE7 oscillating between overflow visible and scroll values */ - #list1 > div { - overflow: visible; - } </style> </head> <body> 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({ diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html index 5eda3f41e..cb3df5b00 100644 --- a/tests/unit/menu/menu.html +++ b/tests/unit/menu/menu.html @@ -35,10 +35,6 @@ } .ui-menu .ui-menu-item { padding: 0; - /* Support: IE7 */ - *display: block; - *float: left; - *clear: left; } #menu3 { height: 250px; diff --git a/tests/unit/selectable/selectable_events.js b/tests/unit/selectable/selectable_events.js index 2cb99f49c..5df7f2f5b 100644 --- a/tests/unit/selectable/selectable_events.js +++ b/tests/unit/selectable/selectable_events.js @@ -49,12 +49,9 @@ test( "mousedown: initial position of helper", function() { clientY: 10 }); - // we do a GTE comparison here because IE7 erroneously subtracts - // 2 pixels from a simulated mousedown for clientX/Y - // Support: IE7 helperOffset = $( ".ui-selectable-helper" ).offset(); - ok( helperOffset.top >= 99, "Scroll top should be accounted for." ); - ok( helperOffset.left >= 99, "Scroll left should be accounted for." ); + ok( helperOffset.top, 110, "Scroll top should be accounted for." ); + ok( helperOffset.left, 110, "Scroll left should be accounted for." ); // Cleanup element.simulate( "mouseup" ); |