Skip to content

Commit b9ad7ae

Browse files
committed
Notes
1 parent 60cc15c commit b9ad7ae

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

normalize.css

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,14 @@ img {
7272
* Fixes styling not present in IE6/7/8/9 C10 S5
7373
*/
7474

75-
abbr {
75+
abbr[title] {
7676
border-bottom: 1px dotted;
7777
}
7878

79+
abbr {
80+
_border-bottom: expression(this.title ? '1px dotted' : 'none');
81+
}
82+
7983
/*
8084
* Add italic font style to <dfn> element
8185
* Fixes styling not present in C10 S5
@@ -172,26 +176,23 @@ textarea {
172176
}
173177

174178
/*
175-
* Define inner-spacing for <button> element
179+
* Define inner-spacing for button elements
180+
* Targeting all inputs is harmless to non-button elements
176181
* 1. Fixes spacing displayed oddly in IE6/7
177-
* 2. Addresses padding differences in all browsers
178-
* 3. Fixes border and padding displayed oddly in FF3/4
182+
* 2. Fixes border and padding displayed oddly in FF3/4
179183
*/
180184

185+
/* 1 */
186+
181187
button,
182-
input[type=button],
183-
input[type=reset],
184-
input[type=submit] {
185-
*overflow: visible; /* 1 */
186-
padding: 0 6px; /* 2 */
188+
input {
189+
*overflow: visible;
187190
}
188191

189-
/* 3 */
192+
/* 2 */
190193

191194
button::-moz-focus-inner,
192-
input[type=button]::-moz-focus-inner,
193-
input[type=reset]::-moz-focus-inner,
194-
input[type=submit]::-moz-focus-inner {
195+
input::-moz-focus-inner {
195196
border: 0;
196197
padding: 0;
197198
}

0 commit comments

Comments
 (0)