Bug 1081072 - Remove scrollbar opacity transition from b2g content.css file, since it interacts poorly with ScrollbarActivity.cpp. r=fabrice, a=lsblakk
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 16 Oct 2014 16:19:58 -0700
changeset 223570 ed6e7b46e77abfc0f221ac1c46ce226ec96c55f4
parent 223569 31a5a1aa4b8d134451c0d7d80d795b93321b3141
child 223571 5bd4fce1c9ad48d9213d5703bb1d56201175ac18
push id5
push usergszorc@mozilla.com
push dateWed, 29 Oct 2014 02:51:31 +0000
reviewersfabrice, lsblakk
bugs1081072
milestone35.0a2
Bug 1081072 - Remove scrollbar opacity transition from b2g content.css file, since it interacts poorly with ScrollbarActivity.cpp. r=fabrice, a=lsblakk
b2g/chrome/content/content.css
--- a/b2g/chrome/content/content.css
+++ b/b2g/chrome/content/content.css
@@ -23,17 +23,16 @@ html xul|scrollbar[root="true"] {
 }
 
 html xul|scrollbar {
   -moz-appearance: none !important;
   background-color: transparent !important;
   background-image: none !important;
   border: 0px solid transparent !important;
   pointer-events: none;
-  opacity: 1;
 }
 
 xul|scrollbar[orient="vertical"] {
   -moz-margin-start: -8px;
   min-width: 8px;
   max-width: 8px;
 }
 
@@ -51,17 +50,16 @@ xul|scrollbar[orient="horizontal"] {
 xul|scrollbar[orient="horizontal"] xul|thumb {
   max-height: 6px !important;
   min-height: 6px !important;
 }
 
 xul|scrollbar:not([active="true"]),
 xul|scrollbar[disabled] {
   opacity: 0;
-  transition: opacity 1s ease;
 }
 
 xul|scrollbarbutton {
   min-height: 8px !important;
   min-width: 8px !important;
   -moz-appearance: none !important;
   visibility: hidden;
 }