Bug 1453484 - Port bug 1452019 to TB: Fix tab_selected when lwt-image attribute is not set. r=jorgk a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Wed, 11 Apr 2018 22:48:49 +0200
changeset 30528 2f9d4cc61c2fc58b2d4f628120b622dd7115da8a
parent 30527 63d73d4ad8fb8f2e5ffde1c315caada905ec61df
child 30529 ccd1fa29f8f5f7bbffe01d57f106b807a474eed3
push id2168
push usermozilla@jorgk.com
push dateThu, 12 Apr 2018 19:57:55 +0000
treeherdercomm-beta@ccd1fa29f8f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk, jorgk
bugs1453484, 1452019
Bug 1453484 - Port bug 1452019 to TB: Fix tab_selected when lwt-image attribute is not set. r=jorgk a=jorgk
mail/themes/shared/mail/tabmail.css
--- a/mail/themes/shared/mail/tabmail.css
+++ b/mail/themes/shared/mail/tabmail.css
@@ -137,23 +137,23 @@
 }
 
 /*
  * LightweightThemeConsumer will set the current lightweight theme's header
  * image to the lwt-header-image variable, used in each of the following rulesets.
  */
 
 /* Lightweight theme on tabs */
-:root[lwtheme-image] .tabmail-tab > .tab-stack > .tab-background[selected=true] {
+.tabmail-tab > .tab-stack > .tab-background[selected=true]:-moz-lwtheme {
   background-attachment: scroll, scroll, fixed;
   background-color: transparent;
   background-image: linear-gradient(var(--lwt-selected-tab-background-color, transparent),
                     var(--lwt-selected-tab-background-color, transparent)),
                     linear-gradient(var(--toolbar-bgcolor), var(--toolbar-bgcolor)),
-                    var(--lwt-header-image);
+                    var(--lwt-header-image, none);
   background-position: 0 0, 0 0, right top;
   background-repeat: repeat-x, repeat-x, no-repeat;
   background-size: auto 100%, auto 100%, auto auto;
 }
 
 /* Tab hover */
 
 .tabmail-tab:hover > .tab-stack > .tab-background:not([selected=true]) {