Skip to content

Commit e00d7a1

Browse files
committed
Normalize for IE8+\n\nThis commit removes support and documentation references to Internet Explorer 6 & 7 from normalize.css
1 parent ec330d5 commit e00d7a1

File tree

1 file changed

+15
-103
lines changed

1 file changed

+15
-103
lines changed

normalize.css

Lines changed: 15 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
========================================================================== */
66

77
/*
8-
* Corrects block display not defined in IE7/8/9 & FF3
8+
* Corrects block display not defined in IE8/9 & FF3
99
*/
1010

1111
article,
@@ -23,7 +23,7 @@ summary {
2323
}
2424

2525
/*
26-
* Corrects inline-block display not defined in IE7/8/9 & FF3
26+
* Corrects inline-block display not defined in IE8/9 & FF3
2727
*/
2828

2929
audio,
@@ -45,7 +45,7 @@ audio:not([controls]) {
4545
}
4646

4747
/*
48-
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
48+
* Addresses styling for 'hidden' attribute not present in IE8/9, FF3, S4
4949
*/
5050

5151
[hidden] {
@@ -58,16 +58,13 @@ audio:not([controls]) {
5858
========================================================================== */
5959

6060
/*
61-
* 1. Corrects text resizing oddly in IE7 when body font-size is set using em units
62-
* http://clagnut.com/blog/348/#c790
63-
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
64-
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
61+
* Prevents iOS text size adjust after orientation change, without disabling user zoom
62+
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
6563
*/
6664

6765
html {
68-
font-size: 100%; /* 1 */
69-
-webkit-text-size-adjust: 100%; /* 2 */
70-
-ms-text-size-adjust: 100%; /* 2 */
66+
-webkit-text-size-adjust: 100%;
67+
-ms-text-size-adjust: 100%;
7168
}
7269

7370
/*
@@ -82,14 +79,6 @@ textarea {
8279
font-family: sans-serif;
8380
}
8481

85-
/*
86-
* Addresses margins handled incorrectly in IE7
87-
*/
88-
89-
body {
90-
margin: 0;
91-
}
92-
9382

9483
/* =============================================================================
9584
Links
@@ -119,7 +108,6 @@ a:active {
119108
========================================================================== */
120109

121110
/*
122-
* Addresses font sizes and margins set differently in IE7
123111
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
124112
*/
125113

@@ -154,7 +142,7 @@ h6 {
154142
}
155143

156144
/*
157-
* Addresses styling not present in IE7/8/9, S5, Chrome
145+
* Addresses styling not present in IE8/9, S5, Chrome
158146
*/
159147

160148
abbr[title] {
@@ -183,23 +171,14 @@ dfn {
183171
}
184172

185173
/*
186-
* Addresses styling not present in IE7/8/9
174+
* Addresses styling not present in IE8/9
187175
*/
188176

189177
mark {
190178
background: #ff0;
191179
color: #000;
192180
}
193181

194-
/*
195-
* Addresses margins set differently in IE7
196-
*/
197-
198-
p,
199-
pre {
200-
margin: 1em 0;
201-
}
202-
203182
/*
204183
* Corrects font family set oddly in S4/5, Chrome
205184
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
@@ -224,18 +203,9 @@ pre {
224203
}
225204

226205
/*
227-
* 1. Addresses CSS quotes not supported in IE7
228-
* 2. Addresses quote property not supported in S4
206+
* Addresses quote property not supported in S4
229207
*/
230208

231-
/* 1 */
232-
233-
q {
234-
quotes: none;
235-
}
236-
237-
/* 2 */
238-
239209
q:before,
240210
q:after {
241211
content: '';
@@ -268,59 +238,16 @@ sub {
268238
}
269239

270240

271-
/* =============================================================================
272-
Lists
273-
========================================================================== */
274-
275-
/*
276-
* Addresses margins set differently in IE7
277-
*/
278-
279-
dl,
280-
menu,
281-
ol,
282-
ul {
283-
margin: 1em 0;
284-
}
285-
286-
dd {
287-
margin: 0 0 0 40px;
288-
}
289-
290-
/*
291-
* Addresses paddings set differently in IE7
292-
*/
293-
294-
menu,
295-
ol,
296-
ul {
297-
padding: 0 0 0 40px;
298-
}
299-
300-
/*
301-
* Corrects list images handled incorrectly in IE7
302-
*/
303-
304-
nav ul,
305-
nav ol {
306-
list-style: none;
307-
list-style-image: none;
308-
}
309-
310-
311241
/* =============================================================================
312242
Embedded content
313243
========================================================================== */
314244

315245
/*
316-
* 1. Removes border when inside 'a' element in IE7/8/9, FF3
317-
* 2. Improves image quality when scaled in IE7
318-
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
246+
* Removes border when inside 'a' element in IE8/9, FF3
319247
*/
320248

321249
img {
322-
border: 0; /* 1 */
323-
-ms-interpolation-mode: bicubic; /* 2 */
250+
border: 0;
324251
}
325252

326253
/*
@@ -337,7 +264,7 @@ svg:not(:root) {
337264
========================================================================== */
338265

339266
/*
340-
* Addresses margin not present in IE7/8/9, S5, O11
267+
* Addresses margin not present in IE8/9, S5, O11
341268
*/
342269

343270
figure {
@@ -349,14 +276,6 @@ figure {
349276
Forms
350277
========================================================================== */
351278

352-
/*
353-
* Corrects margin displayed oddly in IE7
354-
*/
355-
356-
form {
357-
margin: 0;
358-
}
359-
360279
/*
361280
* Define consistent border, margin, and padding
362281
*/
@@ -368,16 +287,14 @@ fieldset {
368287
}
369288

370289
/*
371-
* 1. Corrects color not being inherited in IE7/8/9
290+
* 1. Corrects color not being inherited in IE8/9
372291
* 2. Corrects text not wrapping in FF3
373-
* 3. Corrects alignment displayed oddly in IE7
374292
*/
375293

376294
legend {
377295
border: 0; /* 1 */
378296
padding: 0;
379297
white-space: normal; /* 2 */
380-
*margin-left: -7px; /* 3 */
381298
}
382299

383300
/*
@@ -408,7 +325,6 @@ input {
408325
/*
409326
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
410327
* 2. Corrects inability to style clickable 'input' types in iOS
411-
* 3. Removes inner spacing in IE7 without affecting normal text inputs
412328
*/
413329

414330
button,
@@ -417,7 +333,6 @@ input[type="reset"],
417333
input[type="submit"] {
418334
cursor: pointer; /* 1 */
419335
-webkit-appearance: button; /* 2 */
420-
*overflow: visible; /* 3 */
421336
}
422337

423338
/*
@@ -432,15 +347,12 @@ input[disabled] {
432347
/*
433348
* 1. Addresses box sizing set to content-box in IE8/9
434349
* 2. Removes excess padding in IE8/9
435-
* 3. Removes excess padding in IE7
436350
*/
437351

438352
input[type="checkbox"],
439353
input[type="radio"] {
440354
box-sizing: border-box; /* 1 */
441355
padding: 0; /* 2 */
442-
*height: 13px; /* 3 */
443-
*width: 13px; /* 3 */
444356
}
445357

446358
/*
@@ -476,7 +388,7 @@ input::-moz-focus-inner {
476388
}
477389

478390
/*
479-
* 1. Removes default vertical scrollbar in IE7/8/9
391+
* 1. Removes default vertical scrollbar in IE8/9
480392
* 2. Improves readability and alignment in all browsers
481393
*/
482394

0 commit comments

Comments
 (0)