Bug 1383593 - Noticeable delay when opening of new tabs if activity stream is enabled. r=k88hudson draft
authorEd Lee <edilee@mozilla.com>
Wed, 11 Oct 2017 11:55:28 -0700
changeset 678788 b39d329871cf26a7ca1e56a884c1a0a25f67f9da
parent 678766 5cc25ffa44ca9678fe001ade784349c410c22cc9
child 735439 f77dd60bf235ce93b7cc2b23b002c985848fef8a
push id84041
push userbmo:edilee@mozilla.com
push dateWed, 11 Oct 2017 20:48:01 +0000
reviewersk88hudson
bugs1383593
milestone57.0
Bug 1383593 - Noticeable delay when opening of new tabs if activity stream is enabled. r=k88hudson MozReview-Commit-ID: EjZhPfhX80v
browser/extensions/activity-stream/data/content/activity-stream.css
--- a/browser/extensions/activity-stream/data/content/activity-stream.css
+++ b/browser/extensions/activity-stream/data/content/activity-stream.css
@@ -203,24 +203,23 @@ main {
   font-size: 13px;
   font-weight: bold;
   text-transform: uppercase; }
   .section-title span {
     color: #737373;
     fill: #737373;
     vertical-align: middle; }
 
-.body-wrapper {
+.body-wrapper .sections-list .section:last-of-type,
+.body-wrapper .section-title {
   opacity: 0;
-  transition: opacity 75ms ease-in-out; }
+}
 
-@-moz-document url(about:newtab) {
-  .body-wrapper {
-    transition-delay: 125ms; } }
-  .body-wrapper.on {
+.body-wrapper.on .sections-list .section:last-of-type,
+.body-wrapper.on .section-title {
     opacity: 1; }
 
 .top-sites-list {
   list-style: none;
   margin: 0;
   margin-bottom: -18px;
   padding: 0;
   margin-inline-end: -32px; }