Bug 1326593 - Keep the soundplaying icon visible after audio has stopped playing if the tab has been muted. r=mossop, a=jcristau
authorJared Wein <jwein@mozilla.com>
Tue, 03 Jan 2017 16:56:32 -0500
changeset 353513 39fd680b2e51c6a586c9f438eba53ee55387b61e
parent 353512 0cc9fa6f5389f5d4be6a40f22b3594954a8206b1
child 353514 9545084f13f897cce23ba1f0934753e2dbb83f47
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmossop, jcristau
bugs1326593
milestone52.0a2
Bug 1326593 - Keep the soundplaying icon visible after audio has stopped playing if the tab has been muted. r=mossop, a=jcristau MozReview-Commit-ID: 8LiIcqonHi9
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -232,18 +232,18 @@
 }
 
 .tab-icon-sound[soundplaying]:not(:hover),
 .tab-icon-sound[muted]:not(:hover),
 .tab-icon-sound[blocked]:not(:hover) {
   opacity: .8;
 }
 
-.tab-icon-sound[soundplaying-scheduledremoval]:not(:hover),
-.tab-icon-overlay[soundplaying-scheduledremoval]:not(:hover) {
+.tab-icon-sound[soundplaying-scheduledremoval]:not([muted]):not(:hover),
+.tab-icon-overlay[soundplaying-scheduledremoval]:not([muted]):not(:hover) {
   transition: opacity .3s linear var(--soundplaying-removal-delay);
   opacity: 0;
 }
 
 .tab-background,
 .tabs-newtab-button {
   /* overlap the tab curves */
   margin-inline-end: -@tabCurveHalfWidth@;