Skip to content

Commit 5b8801d

Browse files
committed
Fix IE6/7 expanding text-input bug in normalize
1 parent 8be2d3f commit 5b8801d

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

css/default.css

+6-14
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ svg:not(:root) {
293293
}
294294

295295

296-
/* ============================================================================ FORMS */
296+
/* ============================================================================ FIGURES */
297297

298298
figure {
299299
margin: 0;
@@ -328,33 +328,25 @@ button,
328328
input,
329329
select,
330330
textarea {
331-
overflow: visible; /* 1 */
332331
margin: 0;
333-
font-size: 100%; /* 2 */
334-
line-height: normal; /* 3 */
335-
vertical-align: baseline; /* 4 */
332+
font-size: 100%; /* 1 */
333+
line-height: normal; /* 2 */
334+
vertical-align: baseline; /* 3 */
336335
*vertical-align: middle;
337336
}
338337

339-
/*
340-
* Reintroduce extra inner space when in a 'table' to avoid various IE6/7 bugs
341-
*/
342-
343-
table button,
344-
table input {
345-
*overflow: auto;
346-
}
347-
348338
/*
349339
* 1. Display hand cursor for submission elements
350340
* 2. Fix inability to style clickable 'input' types in iOS
341+
* 3. Corrects inner spacing displayed oddly in IE7 without effecting normal text inputs
351342
*/
352343

353344
button,
354345
input[type="button"],
355346
input[type="submit"] {
356347
cursor: pointer; /* 1 */
357348
-webkit-appearance: button; /* 2 */
349+
*overflow: auto; /* 3 */
358350
}
359351

360352
/*

0 commit comments

Comments
 (0)