Bug 977516 - [Australis] Fix Aero Glass fog behind tabs in customization mode by moving it to ::after. r=Gijs, a=sledru.
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Tue, 11 Mar 2014 19:26:19 -0400
changeset 183260 2eb6678ad228995cb9a925dc6b40088834c36b89
parent 183259 59a95269935318d1dd8e18c2f033b04864a8ae58
child 183261 d2cc1445178189eb075456f38620c437204f1c40
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, sledru
bugs977516
milestone29.0a2
Bug 977516 - [Australis] Fix Aero Glass fog behind tabs in customization mode by moving it to ::after. r=Gijs, a=sledru.
browser/themes/windows/browser-aero.css
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -242,17 +242,23 @@
 
   /* Glass Fog */
 
   #TabsToolbar:not(:-moz-lwtheme) {
     background-image: none;
     position: relative;
   }
 
-  #TabsToolbar:not(:-moz-lwtheme)::before {
+  #TabsToolbar:not(:-moz-lwtheme)::after {
+    /* Because we use placeholders for window controls etc. in the tabstrip,
+     * and position those with ordinal attributes, and because our layout code
+     * expects :before/:after nodes to come first/last in the frame list,
+     * we have to reorder this element to come last, hence the
+     * ordinal group value (see bug 853415). */
+    -moz-box-ordinal-group: 1001;
     box-shadow: 0 0 30px 30px rgba(174,189,204,0.85);
     content: "";
     display: -moz-box;
     height: 0;
     margin: 0 60px; /* (30px + 30px) from box-shadow */
     position: absolute;
     pointer-events: none;
     top: 50%;