Merge pull request #569 from necolas/fix/549

Limit Firefox focus normalization to buttons
This commit is contained in:
Jonathan Neal 2016-04-10 19:08:40 -04:00
commit e31503b635

10
normalize.css vendored
View File

@ -306,8 +306,10 @@ html [type="button"], /* 1 */
*/ */
button::-moz-focus-inner, button::-moz-focus-inner,
input::-moz-focus-inner { [type="button"]::-moz-focus-inner,
border: 0; [type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; padding: 0;
} }
@ -316,7 +318,9 @@ input::-moz-focus-inner {
*/ */
button:-moz-focusring, button:-moz-focusring,
input:-moz-focusring { [type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; outline: 1px dotted ButtonText;
} }