From c04965b461d890a5e8623823eec5a81939d50456 Mon Sep 17 00:00:00 2001 From: Tim Huang Date: Tue, 23 Jul 2019 08:27:24 +0000 Subject: [PATCH] Bug 1567416 - Part 1: Fixing the issue that disabled tracking protection icon is not shown when TP is disabled for the given site. r=johannh This patch fixes the CSS rule for displaying the disabled tracking protection icon when TP is off. Differential Revision: https://phabricator.services.mozilla.com/D38668 --HG-- extra : moz-landing-system : lando --- browser/themes/shared/identity-block/identity-block.inc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/themes/shared/identity-block/identity-block.inc.css b/browser/themes/shared/identity-block/identity-block.inc.css index 3fc776f46ea3..0b24cac59c18 100644 --- a/browser/themes/shared/identity-block/identity-block.inc.css +++ b/browser/themes/shared/identity-block/identity-block.inc.css @@ -259,7 +259,7 @@ list-style-image: url(chrome://browser/skin/tracking-protection.svg); } -#tracking-protection-icon-box[hasException] > #tracking-protection-icon { +#urlbar[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box[hasException] > #tracking-protection-icon { list-style-image: url(chrome://browser/skin/tracking-protection-disabled.svg); }