[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Title: GitLab

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

Commits:

  • 15dc8e7e
    by Emilio Cobos Álvarez at 2023-09-20T19:41:14+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:

Changes:

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

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

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

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits