Skip to content

Commit 99c03b0

Browse files
committed
css(buttons): remove specificity for ::-moz-focus-inner and :-moz-focusring
See necolas/normalize.css#847
1 parent d7a5afe commit 99c03b0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

modernize.css

+2-8
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,7 @@ button,
192192
* Remove the inner border and padding in Firefox.
193193
*/
194194

195-
button::-moz-focus-inner,
196-
[type='button']::-moz-focus-inner,
197-
[type='reset']::-moz-focus-inner,
198-
[type='submit']::-moz-focus-inner {
195+
::-moz-focus-inner {
199196
border-style: none;
200197
padding: 0;
201198
}
@@ -204,10 +201,7 @@ button::-moz-focus-inner,
204201
* Restore the focus styles unset by the previous rule.
205202
*/
206203

207-
button:-moz-focusring,
208-
[type='button']:-moz-focusring,
209-
[type='reset']:-moz-focusring,
210-
[type='submit']:-moz-focusring {
204+
:-moz-focusring {
211205
outline: 1px dotted ButtonText;
212206
}
213207

0 commit comments

Comments
 (0)