diff options
author | Chris Rebert <github@chrisrebert.com> | 2016-07-12 06:50:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-12 06:50:27 +0300 |
commit | 873cf751c03e5d1b7e66f1ad599b56ce8c38b3cf (patch) | |
tree | 21385a19e2ac21241e7f4bfac8bc6cb9456ef946 /scss | |
parent | 1e01721717fb125d4b75b3ba417d1c20bb13ad0a (diff) |
Remove forced default focus outline (#20275)
As this causes non-standard dotted outline on checkboxes/radio buttons
in OS X Firefox
Ports #19935 to v4
Refs #19933
[skip sauce]
Diffstat (limited to 'scss')
-rw-r--r-- | scss/mixins/_tab-focus.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/mixins/_tab-focus.scss b/scss/mixins/_tab-focus.scss index 7df0ae7ca1..f16ed6428a 100644 --- a/scss/mixins/_tab-focus.scss +++ b/scss/mixins/_tab-focus.scss @@ -1,9 +1,9 @@ // WebKit-style focus @mixin 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; } |