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 140164 2e14be2e3cad
parent 140163 b1e97a8eea0f
child 140165 b476f31f2762
push id25016
push userryanvm@gmail.com
push date2013-07-27 02:25 +0000
treeherdermozilla-central@fb48c7d58b8b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs896443
milestone25.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 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"] {