From cfbcb464d4c1952251d59e37527e55501dfb2af5 Mon Sep 17 00:00:00 2001 From: Stephen Pohl Date: Mon, 29 Jul 2013 20:23:31 -0400 Subject: [PATCH] Bug 891136: Set pointer-events:auto CSS rule for overlay scrollbars to help make them work on sites such as Google Docs. r=roc --- toolkit/themes/osx/global/nativescrollbars.css | 1 + toolkit/themes/windows/global/xulscrollbars.css | 1 + 2 files changed, 2 insertions(+) diff --git a/toolkit/themes/osx/global/nativescrollbars.css b/toolkit/themes/osx/global/nativescrollbars.css index 82ef4d2ac1d..503278c637c 100644 --- a/toolkit/themes/osx/global/nativescrollbars.css +++ b/toolkit/themes/osx/global/nativescrollbars.css @@ -10,6 +10,7 @@ scrollbar { -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar); cursor: default; background-color: white; + pointer-events: auto; } scrollbar[root="true"] { diff --git a/toolkit/themes/windows/global/xulscrollbars.css b/toolkit/themes/windows/global/xulscrollbars.css index e47f50f7e7d..c110798bee9 100644 --- a/toolkit/themes/windows/global/xulscrollbars.css +++ b/toolkit/themes/windows/global/xulscrollbars.css @@ -16,6 +16,7 @@ scrollbar { -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); cursor: default; background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar; + pointer-events: auto; } scrollbar[root="true"] {