[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.3.0esr-13.0-1] Bug 1853731 - Use html:img for message-bar-icon....

richard (@richard) git at gitlab.torproject.org
Wed Sep 20 19:39:42 UTC 2023



richard pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser


Commits:
2670fdd7 by Emilio Cobos Álvarez at 2023-09-20T19:38:49+00:00
Bug 1853731 - Use html:img for message-bar-icon. r=Gijs,dao,settings-reviewers,desktop-theme-reviewers,sfoster

Differential Revision: https://phabricator.services.mozilla.com/D188521
- - - - -


3 changed files:

- browser/components/places/metadataViewer/interactionsViewer.html
- browser/components/preferences/dialogs/browserLanguages.xhtml
- toolkit/themes/shared/in-content/common-shared.css


Changes:

=====================================
browser/components/places/metadataViewer/interactionsViewer.html
=====================================
@@ -26,10 +26,7 @@
   </head>
   <body>
     <div id="enabledWarning" class="message-bar message-bar-warning" hidden>
-      <img
-        class="message-bar-icon"
-        src="chrome://global/skin/icons/warning.svg"
-      />
+      <img class="message-bar-icon" />
       <descripton class="message-bar-description">
         You need to have <code>browser.places.interactions.enabled</code>
         set to true (and restart) for metadata recording to be enabled.


=====================================
browser/components/preferences/dialogs/browserLanguages.xhtml
=====================================
@@ -81,7 +81,7 @@
       class="message-bar message-bar-warning"
       hidden="true"
     >
-      <image class="message-bar-icon" />
+      <html:img class="message-bar-icon" />
       <description
         class="message-bar-description"
         data-l10n-id="browser-languages-error"


=====================================
toolkit/themes/shared/in-content/common-shared.css
=====================================
@@ -1292,7 +1292,7 @@ xul|treechildren::-moz-tree-image(selected) {
 }
 
 .message-bar-icon {
-  list-style-image: url("chrome://global/skin/icons/info.svg");
+  content: url("chrome://global/skin/icons/info.svg");
   width: 24px;
   height: 24px;
   padding: 4px;
@@ -1308,7 +1308,7 @@ xul|treechildren::-moz-tree-image(selected) {
 }
 
 .message-bar-warning > .message-bar-icon {
-  list-style-image: url("chrome://global/skin/icons/warning.svg");
+  content: url("chrome://global/skin/icons/warning.svg");
 }
 
 input[type="text"][warning]:enabled:not(:focus) {



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2670fdd72240ed821013f0c1b4d7ac3de7d6add8

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2670fdd72240ed821013f0c1b4d7ac3de7d6add8
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20230920/7bbdde8f/attachment-0001.htm>


More information about the tor-commits mailing list