[tbb-commits] [tor-browser/tor-browser-91.4.0esr-11.5-1] fixup! Bug 26961: New user onboarding.

gk at torproject.org gk at torproject.org
Fri Dec 10 14:47:39 UTC 2021


commit cf8d855642bf0d1348eea7a1d69cd20d0ad907a5
Author: Richard Pospesel <richard at torproject.org>
Date:   Tue Dec 7 14:55:31 2021 +0100

    fixup! Bug 26961: New user onboarding.
---
 browser/extensions/onboarding/content/Onboarding.jsm |  6 ------
 browser/extensions/onboarding/content/onboarding.css | 15 ---------------
 2 files changed, 21 deletions(-)

diff --git a/browser/extensions/onboarding/content/Onboarding.jsm b/browser/extensions/onboarding/content/Onboarding.jsm
index 558a94cc35ba..38c78f724b3b 100644
--- a/browser/extensions/onboarding/content/Onboarding.jsm
+++ b/browser/extensions/onboarding/content/Onboarding.jsm
@@ -1770,12 +1770,6 @@ class Onboarding {
     defaultImg.src = Services.prefs.getStringPref("browser.onboarding.default-icon-src",
       "chrome://branding/content/icon64.png");
     button.appendChild(defaultImg);
-    let watermarkImg = this._window.document.createElement("img");
-    watermarkImg.id = "onboarding-overlay-button-watermark-icon";
-    watermarkImg.setAttribute("role", "presentation");
-    watermarkImg.src = Services.prefs.getStringPref("browser.onboarding.watermark-icon-src",
-      "resource://onboarding/img/tor-watermark.png");
-    button.appendChild(watermarkImg);
     return button;
   }
 
diff --git a/browser/extensions/onboarding/content/onboarding.css b/browser/extensions/onboarding/content/onboarding.css
index 431b73bd148e..e801790bf5a8 100644
--- a/browser/extensions/onboarding/content/onboarding.css
+++ b/browser/extensions/onboarding/content/onboarding.css
@@ -127,21 +127,6 @@
   box-shadow: 2px 0 5px 0 rgba(74, 74, 79, 0.25);
 }
 
-#onboarding-overlay-button-watermark-icon {
-  -moz-context-properties: fill;
-  fill: var(--newtab-icon-tertiary-color, #d7d7db);
-}
-
-#onboarding-overlay-button-watermark-icon,
-#onboarding-overlay-button.onboarding-watermark::after,
-#onboarding-overlay-button.onboarding-watermark:not(:hover) > #onboarding-overlay-button-icon {
-  display: none;
-}
-
-#onboarding-overlay-button.onboarding-watermark:not(:hover) > #onboarding-overlay-button-watermark-icon {
-  display: block;
-}
-
 #onboarding-overlay-dialog,
 .onboarding-hidden,
 #onboarding-tour-sync-page[data-login-state=logged-in] .show-on-logged-out,





More information about the tbb-commits mailing list