Browse files

Remove forced default focus outline

As this causes non-standard dotted outline on checkboxes/radio buttons
in OS X Firefox

Fixes #19933
Closes #19935

[skip sauce]
1 parent 415f144 commit c3c089b8959c29002fa087f78fdc29dae6a7e767 @patrickhlauke patrickhlauke committed with cvrebert May 19, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 less/mixins/tab-focus.less
View
6 less/mixins/tab-focus.less
@@ -1,9 +1,9 @@
// WebKit-style focus
.tab-focus() {
- // Default
- outline: thin dotted;
- // WebKit
+ // WebKit-specific. Other browsers will keep their default outline style.
+ // (Initially tried to also force default via `outline: initial`,
+ // but that seems to erroneously remove the outline in Firefox altogether.)
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}

0 comments on commit c3c089b

Please sign in to comment.