]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove forced default focus outline
authorPatrick H. Lauke <redux@splintered.co.uk>
Thu, 19 May 2016 09:51:05 +0000 (10:51 +0100)
committerChris Rebert <code@chrisrebert.com>
Sat, 9 Jul 2016 08:36:29 +0000 (01:36 -0700)
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

index 1f1f05ab054412684539a94423c097d6cdadd8ba..d12d23629f52f2d8bfb332b62627eee22a953b2b 100644 (file)
@@ -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;
 }