Skip to content

Commit 93dc2f5

Browse files
scottgonzalezarschmitz
authored andcommitted
All: Drop support for IE7
Fixes #9838 Closes gh-1365
1 parent dbb2437 commit 93dc2f5

File tree

11 files changed

+8
-33
lines changed

11 files changed

+8
-33
lines changed

demos/button/toolbar.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
padding: 4px;
1515
display: inline-block;
1616
}
17-
/* support: IE7 */
18-
*+html #toolbar {
19-
display: inline;
20-
}
2117
</style>
2218
<script>
2319
$(function() {

tests/unit/accordion/accordion.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
font-size: 12px;
3636
line-height: 15px;
3737
}
38-
/* avoid IE7 oscillating between overflow visible and scroll values */
39-
#list1 > div {
40-
overflow: visible;
41-
}
4238
</style>
4339
</head>
4440
<body>

tests/unit/dialog/dialog_methods.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ test("open", function() {
193193
ok(element.dialog("widget").is(":visible") && !element.dialog("widget").is(":hidden"), "dialog visible after open method called");
194194
});
195195

196-
test("#6137: dialog('open') causes form elements to reset on IE7", function() {
196+
// http://bugs.jqueryui.com/ticket/6137
197+
test("Ensure form elements don't reset when opening a dialog", function() {
197198
expect(2);
198199

199200
var d1 = $("<form><input type='radio' name='radio' id='a' value='a' checked='checked'></input>" +

tests/unit/dialog/dialog_options.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,9 @@ test("minWidth", function() {
371371
test( "position, default center on window", function() {
372372
expect( 2 );
373373

374-
// dialogs alter the window width and height in FF and IE7
374+
// dialogs alter the window width and height in Firefox
375375
// so we collect that information before creating the dialog
376-
// Support: FF, IE7
376+
// Support: Firefox
377377
var winWidth = $( window ).width(),
378378
winHeight = $( window ).height(),
379379
element = $("<div></div>").dialog(),
@@ -387,9 +387,9 @@ test( "position, default center on window", function() {
387387
test( "position, right bottom at right bottom via ui.position args", function() {
388388
expect( 2 );
389389

390-
// dialogs alter the window width and height in FF and IE7
390+
// dialogs alter the window width and height in Firefox
391391
// so we collect that information before creating the dialog
392-
// Support: FF, IE7
392+
// Support: Firefox
393393
var winWidth = $( window ).width(),
394394
winHeight = $( window ).height(),
395395
element = $("<div></div>").dialog({

tests/unit/menu/menu.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
}
3636
.ui-menu .ui-menu-item {
3737
padding: 0;
38-
/* Support: IE7 */
39-
*display: block;
40-
*float: left;
41-
*clear: left;
4238
}
4339
#menu3 {
4440
height: 250px;

tests/unit/selectable/selectable_events.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,9 @@ test( "mousedown: initial position of helper", function() {
4949
clientY: 10
5050
});
5151

52-
// we do a GTE comparison here because IE7 erroneously subtracts
53-
// 2 pixels from a simulated mousedown for clientX/Y
54-
// Support: IE7
5552
helperOffset = $( ".ui-selectable-helper" ).offset();
56-
ok( helperOffset.top >= 99, "Scroll top should be accounted for." );
57-
ok( helperOffset.left >= 99, "Scroll left should be accounted for." );
53+
ok( helperOffset.top, 110, "Scroll top should be accounted for." );
54+
ok( helperOffset.left, 110, "Scroll left should be accounted for." );
5855

5956
// Cleanup
6057
element.simulate( "mouseup" );

themes/base/accordion.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
position: relative;
1515
margin: 2px 0 0 0;
1616
padding: .5em .5em .5em .7em;
17-
min-height: 0; /* support: IE7 */
1817
font-size: 100%;
1918
}
2019
.ui-accordion .ui-accordion-icons {

themes/base/core.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
.ui-helper-clearfix:after {
4444
clear: both;
4545
}
46-
.ui-helper-clearfix {
47-
min-height: 0; /* support: IE7 */
48-
}
4946
.ui-helper-zfix {
5047
width: 100%;
5148
height: 100%;

themes/base/menu.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
margin: 0;
2424
padding: 3px 1em 3px .4em;
2525
cursor: pointer;
26-
min-height: 0; /* support: IE7 */
2726
/* support: IE10, see #8844 */
2827
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
2928
}

themes/base/selectmenu.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
}
1919
.ui-selectmenu-menu .ui-menu {
2020
overflow: auto;
21-
/* Support: IE7 */
22-
overflow-x: hidden;
2321
padding-bottom: 1px;
2422
}
2523
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {

ui/tabs.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ return $.widget( "ui.tabs", {
4848
return function( anchor ) {
4949
var anchorUrl, locationUrl;
5050

51-
// support: IE7
52-
// IE7 doesn't normalize the href property when set via script (#9317)
53-
anchor = anchor.cloneNode( false );
54-
5551
anchorUrl = anchor.href.replace( rhash, "" );
5652
locationUrl = location.href.replace( rhash, "" );
5753

0 commit comments

Comments
 (0)