Bug 1559316 - ensure badge background does not turn white when tbody gets focus on :active. r=mtigley a=ritu
authorYura Zenevich <yura.zenevich@gmail.com>
Thu, 20 Jun 2019 20:43:35 +0000
changeset 534002 902d1b155d7bdbaeb3b08e3a2a06721aeb18d4c3
parent 534001 edc925e0821a1066f0b354a486cfffe34b40e4f2
child 534003 c369003558cb91db6e7828c4e0c74ff32da47ff1
push id11489
push usermalexandru@mozilla.com
push dateMon, 24 Jun 2019 13:35:34 +0000
treeherdermozilla-beta@da9f01df3bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtigley, ritu
bugs1559316
milestone68.0
Bug 1559316 - ensure badge background does not turn white when tbody gets focus on :active. r=mtigley a=ritu Differential Revision: https://phabricator.services.mozilla.com/D35065
devtools/client/accessibility/accessibility.css
--- a/devtools/client/accessibility/accessibility.css
+++ b/devtools/client/accessibility/accessibility.css
@@ -413,17 +413,17 @@ body {
 
 .devtools-toolbar .badge.toggle-button:focus {
   outline: 2px solid var(--accessibility-toolbar-focus);
   outline-offset: -2px;
   box-shadow: 0 0 0 2px var(--accessibility-toolbar-focus-alpha30);
   -moz-outline-radius: 2px;
 }
 
-.treeTable:focus .treeRow.selected .badges .badge {
+.treeTable:focus-within .treeRow.selected .badges .badge {
   background-color: var(--badge-active-background-color);
   border-color: var(--accessible-active-border-color);
   color: var(--theme-selection-color);
 }
 
 .treeTable:not(:focus):not(:focus-within) .treeRow.selected .badges .badge {
   color: var(--accessible-label-color);
 }