Bug 1491688 - Stop applying -moz-appearance: -moz-mac-source-list-selection; when tree is focused. r=jaws
authorTim Nguyen <ntim.bugs@gmail.com>
Sat, 29 Sep 2018 13:52:16 +0000
changeset 495110 0438e11c91251842a22125cbab18f44ef265fa9b
parent 495109 82a9e5de506a02333fcbf95ebf62ad73b5d130b9
child 495111 5543e7f5ddadba11a98f54fef214089ea1f8f3a0
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1491688
milestone64.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 1491688 - Stop applying -moz-appearance: -moz-mac-source-list-selection; when tree is focused. r=jaws
browser/themes/osx/places/sidebar.css
browser/themes/osx/syncedtabs/sidebar.css
--- a/browser/themes/osx/places/sidebar.css
+++ b/browser/themes/osx/places/sidebar.css
@@ -21,17 +21,17 @@
   min-height: 32px;
 }
 
 .sidebar-placesTreechildren::-moz-tree-separator {
   border-top: 1px solid #505d6d;
   margin: 0 10px;
 }
 
-.sidebar-panel:not([lwt-sidebar]) .sidebar-placesTreechildren::-moz-tree-row(selected) {
+.sidebar-panel:not([lwt-sidebar]) .sidebar-placesTreechildren::-moz-tree-row(selected,blur) {
   -moz-appearance: -moz-mac-source-list-selection;
   -moz-font-smoothing-background-color: -moz-mac-source-list-selection;
 }
 
 .sidebar-panel:not([lwt-sidebar-highlight]) .sidebar-placesTreechildren::-moz-tree-row(selected,focus) {
   -moz-appearance: -moz-mac-active-source-list-selection;
   -moz-font-smoothing-background-color: -moz-mac-active-source-list-selection;
 }
--- a/browser/themes/osx/syncedtabs/sidebar.css
+++ b/browser/themes/osx/syncedtabs/sidebar.css
@@ -13,17 +13,17 @@ body:not([lwt-sidebar]) .content-contain
 
 .item-title-container {
   box-sizing: border-box;
   align-items: center;
   height: 24px;
   font-size: 12px;
 }
 
-body:not([lwt-sidebar]) .item.selected > .item-title-container {
+body:not([lwt-sidebar]) .item.selected:not(:focus) > .item-title-container {
   -moz-appearance: -moz-mac-source-list-selection;
   -moz-font-smoothing-background-color: -moz-mac-source-list-selection;
 }
 
 body:not([lwt-sidebar-highlight]) .item.selected:focus > .item-title-container {
   -moz-appearance: -moz-mac-active-source-list-selection;
   -moz-font-smoothing-background-color: -moz-mac-active-source-list-selection;
 }