Bug 1326593 - Keep the soundplaying icon visible after audio has stopped playing if the tab has been muted. r?gijs draft
authorJared Wein <jwein@mozilla.com>
Tue, 03 Jan 2017 16:56:32 -0500
changeset 455459 713cf41abef46f05a26385d1c53fc50f4b5ed6e2
parent 455333 cad2ea346d06ec5a3a70eda912513201dff0c21e
child 540999 e2a2fc190d9e7659506106f185949000826478cb
push id40248
push userbmo:jaws@mozilla.com
push dateTue, 03 Jan 2017 21:57:20 +0000
reviewersgijs
bugs1326593
milestone53.0a1
Bug 1326593 - Keep the soundplaying icon visible after audio has stopped playing if the tab has been muted. r?gijs 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: calc(-1 * var(--tab-curve-half-width));