Skip to content

Commit 8b87f80

Browse files
committed
All: remove various IE6-9 hacks
https://webplatform.github.io/docs/css/media_queries/ms-interpolation-mode/ > The -ms-interpolation-mode property is obsolete as of Internet Explorer 9.
1 parent 28cdb59 commit 8b87f80

File tree

1 file changed

+2
-41
lines changed

1 file changed

+2
-41
lines changed

themes/jquery/css/base.css

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
========================================================================== */
1010

1111
* {
12-
-webkit-box-sizing: border-box;
13-
-moz-box-sizing: border-box;
1412
box-sizing: border-box;
1513
}
1614

@@ -32,14 +30,12 @@ summary {
3230
}
3331

3432
/*
35-
* Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
33+
* Corrects `inline-block` display.
3634
*/
3735
audio,
3836
canvas,
3937
video {
4038
display: inline-block;
41-
*display: inline;
42-
*zoom: 1;
4339
}
4440

4541
/*
@@ -64,7 +60,6 @@ audio:not([controls]) {
6460
html {
6561
font-size: 100%; /* 1 */
6662
-webkit-text-size-adjust: 100%; /* 2 */
67-
-ms-text-size-adjust: 100%; /* 2 */
6863
}
6964

7065
/*
@@ -80,9 +75,6 @@ textarea {
8075
color: #333;
8176
}
8277

83-
/*
84-
* Addresses margins handled incorrectly in IE 6/7.
85-
*/
8678
body {
8779
margin: 0;
8880
}
@@ -201,14 +193,6 @@ dfn {
201193
font-style: italic;
202194
}
203195

204-
/*
205-
* Addresses styling not present in IE 6/7/8/9.
206-
*/
207-
mark {
208-
background: #ff0;
209-
color: #000;
210-
}
211-
212196
/*
213197
* Addresses margins set differently in IE 6/7.
214198
*/
@@ -308,11 +292,9 @@ nav ol {
308292

309293
/*
310294
* 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
311-
* 2. Improves image quality when scaled in IE 7.
312295
*/
313296
img {
314297
border: 0; /* 1 */
315-
-ms-interpolation-mode: bicubic; /* 2 */
316298
vertical-align: middle;
317299
max-width: 100%;
318300
}
@@ -352,13 +334,11 @@ fieldset {
352334
/*
353335
* 1. Corrects color not being inherited in IE 6/7/8/9.
354336
* 2. Corrects text not wrapping in Firefox 3.
355-
* 3. Corrects alignment displayed oddly in IE 6/7.
356337
*/
357338
legend {
358339
border: 0; /* 1 */
359340
padding: 0;
360341
white-space: normal; /* 2 */
361-
*margin-left: -7px; /* 3 */
362342
}
363343

364344
/*
@@ -374,7 +354,6 @@ textarea {
374354
font-size: 100%; /* 1 */
375355
margin: 0; /* 2 */
376356
vertical-align: baseline; /* 3 */
377-
*vertical-align: middle; /* 3 */
378357
}
379358

380359
/*
@@ -392,16 +371,13 @@ input {
392371
* 2. Corrects inability to style clickable `input` types in iOS.
393372
* 3. Improves usability and consistency of cursor style between image-type
394373
* `input` and others.
395-
* 4. Removes inner spacing in IE 7 without affecting normal text inputs.
396-
* Known issue: inner spacing remains in IE 6.
397374
*/
398375
button,
399376
html input[type="button"], /* 1 */
400377
input[type="reset"],
401378
input[type="submit"] {
402379
-webkit-appearance: button; /* 2 */
403380
cursor: pointer; /* 3 */
404-
*overflow: visible; /* 4 */
405381
}
406382

407383
/*
@@ -415,21 +391,16 @@ input[disabled] {
415391
/*
416392
* 1. Addresses box sizing set to content-box in IE 8/9.
417393
* 2. Removes excess padding in IE 8/9.
418-
* 3. Removes excess padding in IE 7.
419-
* Known issue: excess padding remains in IE 6.
420394
*/
421395
input[type="checkbox"],
422396
input[type="radio"] {
423397
box-sizing: border-box; /* 1 */
424398
padding: 0; /* 2 */
425-
*height: 13px; /* 3 */
426-
*width: 13px; /* 3 */
427399
}
428400

429401
/*
430402
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
431-
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
432-
* (include `-moz` to future-proof).
403+
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome.
433404
*/
434405
input[type="search"] {
435406
-webkit-appearance: textfield;
@@ -2583,7 +2554,6 @@ footer .books li a cite {
25832554
background-color: transparent;
25842555
border: 0;
25852556
overflow: hidden;
2586-
*text-indent: -9999px;
25872557
}
25882558

25892559
.ir:before {
@@ -2633,10 +2603,6 @@ footer .books li a cite {
26332603
clear: both;
26342604
}
26352605

2636-
.clearfix {
2637-
*zoom: 1;
2638-
}
2639-
26402606
/* Print styles
26412607
========================================================================== */
26422608

@@ -2807,12 +2773,9 @@ img, object, embed { max-width: 100%; height: auto; }
28072773

28082774
object, embed { height: 100%; }
28092775

2810-
img { -ms-interpolation-mode: bicubic; }
2811-
28122776
#map_canvas img, .map_canvas img { max-width: none!important; }
28132777

28142778
/* Nicolas Gallagher's micro clearfix */
2815-
.row { *zoom: 1; }
28162779
.row:before, .row:after { content: ""; display: table; }
28172780
.row:after { clear: both; }
28182781

@@ -3144,8 +3107,6 @@ pre .diff .hljs-comment {
31443107
.syntaxhighlighter table td.gutter .line {
31453108
text-align: right !important;
31463109
padding: 0 0.5em 0 1em !important;
3147-
-webkit-user-select: none;
3148-
-ms-user-select: none;
31493110
user-select: none;
31503111
}
31513112
.syntaxhighlighter table td.code .line {

0 commit comments

Comments
 (0)