Bug 1559316 - ensure badge background does not turn white when tbody gets focus on :active. r=mtigley
authorYura Zenevich <yura.zenevich@gmail.com>
Thu, 20 Jun 2019 20:43:35 +0000
changeset 479387 5101d72424130f6c45173fec4b7d6bed993e1c27
parent 479386 03282f6c89d100bc1129441dd38ab8b208c1fdc2
child 479388 7dd587e1d94844ba6eec3768fd15dbc3300296a0
push id88261
push useryura.zenevich@gmail.com
push dateThu, 20 Jun 2019 20:44:56 +0000
treeherderautoland@7dd587e1d948 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtigley
bugs1559316
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1559316 - ensure badge background does not turn white when tbody gets focus on :active. r=mtigley 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);
 }