Bug 1414671 - Make the nicklist listitem selectors a bit dumber to avoid assert/crash. r=jorgk CLOSED TREE
authorRichard Marti <richard.marti@gmail.com>
Sun, 05 Nov 2017 21:44:28 +0100
changeset 29324 fd8d5e78eea96a9c0a82dfc724639576bdf3244a
parent 29323 8ebc38529db6693b8b757a21471558b4eab3dd3a
child 29325 bae7ea206ae952211d63e236d2a66e70e77cc325
push id2068
push userclokep@gmail.com
push dateMon, 13 Nov 2017 19:02:14 +0000
treeherdercomm-beta@9c7e7ce8672b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1414671
Bug 1414671 - Make the nicklist listitem selectors a bit dumber to avoid assert/crash. r=jorgk CLOSED TREE
mail/components/im/themes/chat.css
mail/themes/windows/mail/chat.css
--- a/mail/components/im/themes/chat.css
+++ b/mail/components/im/themes/chat.css
@@ -460,25 +460,25 @@ grippy {
 #conv-toolbar {
   border-style: none;
 }
 
 #logTree {
   margin: 0 0;
 }
 
-.conv-nicklist > .listitem-iconic > .listcell-iconic > .listcell-label {
+.conv-nicklist > .listitem-iconic .listcell-label {
   font-weight: bold;
   padding-inline-start: 1px;
 %ifdef XP_MACOSX
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
 %endif
 }
 
-.conv-nicklist > .listitem-iconic > .listcell-iconic > .listcell-icon {
+.conv-nicklist > .listitem-iconic .listcell-icon {
   min-width: 16px;
   margin: 0 2px;
 }
 
 .conv-logs-header-label {
   -moz-appearance: treeheadercell;
   margin: 0 -1px 0 0;
   padding-left: 3px;
@@ -516,38 +516,38 @@ grippy {
 }
 
 /* Splitter style change above somehow made it smaller, fix this here: */
 grippy {
   margin: 0 1px;
 }
 %endif
 
-.listitem-iconic[inactive] > .listcell-iconic > .listcell-icon {
+.listitem-iconic[inactive] .listcell-icon {
   opacity: 0.45;
 }
 
-.listitem-iconic[inactive][selected] > .listcell-iconic > .listcell-icon {
+.listitem-iconic[inactive][selected] .listcell-icon {
   opacity: 0.7;
 }
 
-.listitem-iconic[inactive] > .listcell-iconic > .listcell-label {
+.listitem-iconic[inactive] .listcell-label {
   color: GrayText !important;
   font-weight: normal;
 }
 
-.listitem-iconic[inactive][selected] > .listcell-iconic > .listcell-label {
+.listitem-iconic[inactive][selected] .listcell-label {
 %ifdef MACOSX
   color: -moz-DialogText !important;
 %else
   color: -moz-cellhighlighttext !important;
 %endif
 }
 
-.conv-nicklist:focus > .listitem-iconic[inactive][selected] > .listcell-iconic > .listcell-label {
+.conv-nicklist:focus > .listitem-iconic[inactive][selected] .listcell-label {
   color: HighlightText !important;
 }
 
 /* from instantbird/themes/blist.css */
 %ifdef XP_WIN
 imgroup .twisty {
   padding-top: 1px;
   width: 9px; /* The image's width is 9 pixels */
--- a/mail/themes/windows/mail/chat.css
+++ b/mail/themes/windows/mail/chat.css
@@ -241,18 +241,18 @@
 
   #contactlistbox:focus > :-moz-any(imconv, imcontact, imgroup)[selected][current] {
     -moz-border-top-colors: rgb(125, 162, 206) rgba(255, 255, 255, .4);
     -moz-border-right-colors: rgb(125, 162, 206) rgba(255, 255, 255, .4);
     -moz-border-left-colors: rgb(125, 162, 206) rgba(255, 255, 255, .4);
     -moz-border-bottom-colors: rgb(125, 162, 206) rgba(255, 255, 255, .6);
   }
 
-  .listitem-iconic[selected] > .listcell-iconic > .listcell-label,
-  #nicklist:focus > .listitem-iconic[inactive][selected] > .listcell-iconic > .listcell-label {
+  .listitem-iconic[selected] .listcell-label,
+  #nicklist:focus > .listitem-iconic[inactive][selected] .listcell-label {
     color: -moz-dialogtext !important;
   }
 
   #nicklist > listitem {
     border-width: 1px !important;
     outline: none !important;
   }
 }