Bug 1562940 - Icon chrome://browser/skin/identity-icon.svg should be in toolkit r=mconley

Differential Revision: https://phabricator.services.mozilla.com/D68684

--HG--
rename : browser/themes/shared/identity-block/identity-icon.svg => toolkit/themes/shared/icons/identity-icon.svg
extra : moz-landing-system : lando
This commit is contained in:
aarushivij 2020-03-30 18:54:46 +00:00
Родитель bab92087d4
Коммит fb695f5c5e
9 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -30,7 +30,7 @@ const TEST_CASES = [
{ {
type: "non-chrome about page", type: "non-chrome about page",
testURL: "about:about", testURL: "about:about",
img_url: `url("chrome://browser/skin/identity-icon.svg")`, img_url: `url("chrome://global/skin/icons/identity-icon.svg")`,
}, },
{ {
type: "chrome about page", type: "chrome about page",
@ -40,7 +40,7 @@ const TEST_CASES = [
{ {
type: "file", type: "file",
testURL: "dummy_page.html", testURL: "dummy_page.html",
img_url: `url("chrome://browser/skin/identity-icon.svg")`, img_url: `url("chrome://global/skin/icons/identity-icon.svg")`,
}, },
{ {
type: "mixedPassiveContent", type: "mixedPassiveContent",
@ -60,12 +60,12 @@ const TEST_CASES = [
{ {
type: "localhost", type: "localhost",
testURL: "http://127.0.0.1", testURL: "http://127.0.0.1",
img_url: `url("chrome://browser/skin/identity-icon.svg")`, img_url: `url("chrome://global/skin/icons/identity-icon.svg")`,
}, },
{ {
type: "localhost + http frame", type: "localhost + http frame",
testURL: kBaseURILocalhost + "file_csp_block_all_mixedcontent.html", testURL: kBaseURILocalhost + "file_csp_block_all_mixedcontent.html",
img_url: `url("chrome://browser/skin/identity-icon.svg")`, img_url: `url("chrome://global/skin/icons/identity-icon.svg")`,
}, },
{ {
type: "data URI", type: "data URI",
@ -81,7 +81,7 @@ const TEST_CASES = [
type: "view-source HTTPS", type: "view-source HTTPS",
testURL: "view-source:https://example.com/", testURL: "view-source:https://example.com/",
// TODO this will get a secure treatment with bug 1496844. // TODO this will get a secure treatment with bug 1496844.
img_url: `url("chrome://browser/skin/identity-icon.svg")`, img_url: `url("chrome://global/skin/icons/identity-icon.svg")`,
}, },
]; ];

Просмотреть файл

@ -135,7 +135,7 @@
/* MAIN IDENTITY ICON */ /* MAIN IDENTITY ICON */
#identity-icon { #identity-icon {
margin-inline-start: 0; margin-inline-start: 0;
list-style-image: url(chrome://browser/skin/identity-icon.svg); list-style-image: url(chrome://global/skin/icons/identity-icon.svg);
} }
#identity-box[pageproxystate="valid"].chromeUI > #identity-icon { #identity-box[pageproxystate="valid"].chromeUI > #identity-icon {

Просмотреть файл

@ -253,7 +253,7 @@ button > hbox > label {
.info-panel > description, .info-panel > description,
.extension-controlled > description { .extension-controlled > description {
line-height: 16px; line-height: 16px;
background: url(chrome://browser/skin/identity-icon.svg) 10px 14px no-repeat; background: url(chrome://global/skin/icons/identity-icon.svg) 10px 14px no-repeat;
padding: 10px; padding: 10px;
padding-inline-start: 32px; padding-inline-start: 32px;
} }
@ -859,14 +859,14 @@ image.update-throbber {
} }
.info-icon { .info-icon {
list-style-image: url("chrome://browser/skin/identity-icon.svg"); list-style-image: url("chrome://global/skin/icons/identity-icon.svg");
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-top: calc((32px - 16px) / 2); margin-top: calc((32px - 16px) / 2);
} }
.info-icon-telemetry { .info-icon-telemetry {
list-style-image: url("chrome://browser/skin/identity-icon.svg"); list-style-image: url("chrome://global/skin/icons/identity-icon.svg");
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-inline: 2px 8px; margin-inline: 2px 8px;
@ -1048,7 +1048,7 @@ menulist[indicator=true] > menupopup menuitem[indicator=true]:not([image]) > .me
padding-inline-start: 30px; padding-inline-start: 30px;
margin-block-start: 20px; margin-block-start: 20px;
line-height: 20px; line-height: 20px;
background-image: url("chrome://browser/skin/identity-icon.svg"); background-image: url("chrome://global/skin/icons/identity-icon.svg");
background-position-x: left 2px; background-position-x: left 2px;
background-position-y: top 2px; background-position-y: top 2px;
background-size: 16px 16px; background-size: 16px 16px;

Просмотреть файл

@ -200,7 +200,7 @@
} }
.content-blocking-reload-desc-container > .content-blocking-info-image { .content-blocking-reload-desc-container > .content-blocking-info-image {
list-style-image: url(chrome://browser/skin/identity-icon.svg); list-style-image: url(chrome://global/skin/icons/identity-icon.svg);
margin-inline-end: 12px; margin-inline-end: 12px;
margin-top: 0.4em; margin-top: 0.4em;
flex-shrink: 0; flex-shrink: 0;

Просмотреть файл

@ -58,7 +58,6 @@
skin/classic/browser/connection-secure.svg (../shared/identity-block/connection-secure.svg) skin/classic/browser/connection-secure.svg (../shared/identity-block/connection-secure.svg)
skin/classic/browser/connection-mixed-passive-loaded.svg (../shared/identity-block/connection-mixed-passive-loaded.svg) skin/classic/browser/connection-mixed-passive-loaded.svg (../shared/identity-block/connection-mixed-passive-loaded.svg)
skin/classic/browser/connection-mixed-active-loaded.svg (../shared/identity-block/connection-mixed-active-loaded.svg) skin/classic/browser/connection-mixed-active-loaded.svg (../shared/identity-block/connection-mixed-active-loaded.svg)
skin/classic/browser/identity-icon.svg (../shared/identity-block/identity-icon.svg)
skin/classic/browser/info.svg (../shared/info.svg) skin/classic/browser/info.svg (../shared/info.svg)
skin/classic/browser/newInstall.css (../shared/newInstall.css) skin/classic/browser/newInstall.css (../shared/newInstall.css)
skin/classic/browser/newInstallPage.css (../shared/newInstallPage.css) skin/classic/browser/newInstallPage.css (../shared/newInstallPage.css)

Просмотреть файл

@ -31,7 +31,7 @@
} }
.panel-info-button > image { .panel-info-button > image {
list-style-image: url(chrome://browser/skin/identity-icon.svg); list-style-image: url(chrome://global/skin/icons/identity-icon.svg);
-moz-context-properties: fill, fill-opacity; -moz-context-properties: fill, fill-opacity;
fill: currentColor; fill: currentColor;
fill-opacity: var(--toolbarbutton-icon-fill-opacity); fill-opacity: var(--toolbarbutton-icon-fill-opacity);

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 546 B

После

Ширина:  |  Высота:  |  Размер: 546 B

Просмотреть файл

@ -949,7 +949,7 @@ xul|treechildren::-moz-tree-image(selected) {
} }
.message-bar-icon { .message-bar-icon {
list-style-image: url("chrome://browser/skin/identity-icon.svg"); list-style-image: url("chrome://global/skin/icons/identity-icon.svg");
width: 24px; width: 24px;
height: 24px; height: 24px;
padding: 4px; padding: 4px;

Просмотреть файл

@ -51,6 +51,7 @@ toolkit.jar:
skin/classic/global/icons/performance.svg (../../shared/icons/performance.svg) skin/classic/global/icons/performance.svg (../../shared/icons/performance.svg)
skin/classic/global/pictureinpicture/pause.svg (../../shared/pictureinpicture/pause.svg) skin/classic/global/pictureinpicture/pause.svg (../../shared/pictureinpicture/pause.svg)
skin/classic/global/pictureinpicture/play.svg (../../shared/pictureinpicture/play.svg) skin/classic/global/pictureinpicture/play.svg (../../shared/pictureinpicture/play.svg)
skin/classic/global/icons/identity-icon.svg (../../shared/icons/identity-icon.svg)
skin/classic/global/icons/resizer.svg (../../shared/icons/resizer.svg) skin/classic/global/icons/resizer.svg (../../shared/icons/resizer.svg)
skin/classic/global/icons/shortcut.svg (../../shared/icons/shortcut.svg) skin/classic/global/icons/shortcut.svg (../../shared/icons/shortcut.svg)
skin/classic/global/icons/spinner-arrow-down.svg (../../shared/icons/spinner-arrow-down.svg) skin/classic/global/icons/spinner-arrow-down.svg (../../shared/icons/spinner-arrow-down.svg)