From 966d5617a4eae8aad64af23bb673f85f08489c2f Mon Sep 17 00:00:00 2001 From: patrickhlauke Date: Mon, 29 Jul 2019 09:15:34 +0100 Subject: [PATCH] Fix reboot for placeholder links Backport of https://github.com/twbs/bootstrap/pull/29140 --- scss/_reboot.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index bdb53f346a85..e436e14ef829 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -194,13 +194,12 @@ a { } } -// And undo these styles for placeholder links/named anchors (without href) -// which have not been made explicitly keyboard-focusable (without tabindex). +// And undo these styles for placeholder links/named anchors (without href). // It would be more straightforward to just use a[href] in previous block, but that // causes specificity issues in many other styles that are too complex to fix. // See https://github.com/twbs/bootstrap/issues/19402 -a:not([href]):not([tabindex]) { +a:not([href]) { color: inherit; text-decoration: none;