From c3c089b8959c29002fa087f78fdc29dae6a7e767 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 19 May 2016 10:51:05 +0100 Subject: [PATCH] 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] --- less/mixins/tab-focus.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/less/mixins/tab-focus.less b/less/mixins/tab-focus.less index 1f1f05ab05..d12d23629f 100644 --- a/less/mixins/tab-focus.less +++ b/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; }