Skip to content

Commit 4748301

Browse files
committed
1 parent 5942cab commit 4748301

File tree

1 file changed

+4
-35
lines changed

1 file changed

+4
-35
lines changed

modernize.css

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,17 @@ h1 {
3939

4040
/**
4141
* 1. Add the correct height in Firefox.
42-
* 2. Show the overflow in Edge and IE.
4342
*/
4443

4544
hr {
4645
height: 0; /* 1 */
47-
overflow: visible; /* 2 */
4846
}
4947

5048
/* Text-level semantics
5149
========================================================================== */
5250

5351
/**
54-
* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
52+
* Add the correct text decoration in Safari.
5553
*/
5654

5755
abbr[title] {
@@ -129,24 +127,11 @@ textarea {
129127
}
130128

131129
/**
132-
* Show the overflow in IE.
133-
* 1. Show the overflow in Edge.
134-
*/
135-
136-
button,
137-
input {
138-
/* 1 */
139-
overflow: visible;
140-
}
141-
142-
/**
143-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
144-
* 1. Remove the inheritance of text transform in Firefox.
130+
* Remove the inheritance of text transform in Firefox.
145131
*/
146132

147133
button,
148134
select {
149-
/* 1 */
150135
text-transform: none;
151136
}
152137

@@ -187,19 +172,11 @@ fieldset {
187172
}
188173

189174
/**
190-
* 1. Correct the text wrapping in Edge and IE.
191-
* 2. Correct the color inheritance from `fieldset` elements in IE.
192-
* 3. Remove the padding so developers are not caught out when they zero out
193-
* `fieldset` elements in all browsers.
175+
* Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
194176
*/
195177

196178
legend {
197-
box-sizing: border-box; /* 1 */
198-
color: inherit; /* 2 */
199-
display: table; /* 1 */
200-
max-width: 100%; /* 1 */
201-
padding: 0; /* 3 */
202-
white-space: normal; /* 1 */
179+
padding: 0;
203180
}
204181

205182
/**
@@ -250,14 +227,6 @@ progress {
250227
/* Interactive
251228
========================================================================== */
252229

253-
/*
254-
* Add the correct display in Edge, IE 10+, and Firefox.
255-
*/
256-
257-
details {
258-
display: block;
259-
}
260-
261230
/*
262231
* Add the correct display in all browsers.
263232
*/

0 commit comments

Comments
 (0)