Bug 1156450. Remove pointer-events: auto from scrollbars. r=mstange
authorTimothy Nikkel <tnikkel@gmail.com>
Mon, 28 Mar 2016 18:53:36 -0500
changeset 290771 637e6dce9a3f1210163cfa513292146a7367acd8
parent 290770 ca78a5af2576347a318789f34060e0abfd5c9640
child 290772 b3099764f4181717e6a48128264c5b2247832a85
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1156450, 891136
milestone48.0a1
Bug 1156450. Remove pointer-events: auto from scrollbars. r=mstange This backs out bug 891136. See https://bugzilla.mozilla.org/show_bug.cgi?id=1156450#c6 for long explanation.
toolkit/themes/osx/global/nativescrollbars.css
toolkit/themes/windows/global/xulscrollbars.css
--- a/toolkit/themes/osx/global/nativescrollbars.css
+++ b/toolkit/themes/osx/global/nativescrollbars.css
@@ -5,17 +5,16 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 @namespace html url("http://www.w3.org/1999/xhtml");
 
 scrollbar {
   -moz-appearance: scrollbar;
   -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar);
   cursor: default;
   background-color: white;
-  pointer-events: auto;
 }
 
 scrollbar[root="true"] {
   position: relative;
   z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
 }
 
 html|select[size]:not([size="0"]):not([size="1"]) > scrollbar,
--- a/toolkit/themes/windows/global/xulscrollbars.css
+++ b/toolkit/themes/windows/global/xulscrollbars.css
@@ -11,17 +11,16 @@
 
 /* ::::: scrollbar ::::: */
 
 scrollbar {
   -moz-appearance: scrollbar-horizontal;
   -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
   cursor: default;
   background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
-  pointer-events: auto;
 }
 
 @media all and (-moz-overlay-scrollbars) {
   scrollbar[root="true"] {
     position: relative;
     z-index: 2147483647; /* largest positive value of a signed 32-bit integer */
   }