Bug 896443: Followup for Windows: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc
authorStephen Pohl <spohl.mozilla.bugs@gmail.com>
Fri, 26 Jul 2013 11:46:19 -0400
changeset 140171 2e14be2e3cadb24c876f8a155a7246a6400f964d
parent 140170 b1e97a8eea0fd799b457c82254fe28345b9b866f
child 140172 b476f31f27629b19021eb2274787e753f73f025b
push id1945
push userryanvm@gmail.com
push dateSat, 27 Jul 2013 02:27:26 +0000
treeherderfx-team@4874fa438b1c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs896443
milestone25.0a1
Bug 896443: Followup for Windows: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc
toolkit/themes/windows/global/xulscrollbars.css
--- a/toolkit/themes/windows/global/xulscrollbars.css
+++ b/toolkit/themes/windows/global/xulscrollbars.css
@@ -13,16 +13,21 @@
 
 scrollbar {
   -moz-appearance: scrollbartrack-horizontal;
   -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
   cursor: default;
   background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
 }
 
+scrollbar[root="true"] {
+  position: relative;
+  z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
+}
+
 scrollbar[orient="vertical"] 
 {
    -moz-appearance: scrollbartrack-vertical;
 }
 
 @media all and (-moz-overlay-scrollbars) {
   scrollbar:not([active="true"]),
   scrollbar[disabled="true"] {