Bug 1817232 - Remove broken -moz-image-region and image reference from mozscreenshots. r=Gijs

This image doesn't exist (anymore?) and -moz-image-region is going away.

See bug 1817063 about whether this code should be removed altogether.

Differential Revision: https://phabricator.services.mozilla.com/D170079
This commit is contained in:
Emilio Cobos Álvarez 2023-02-16 15:25:57 +00:00
parent 6446f9a80e
commit 79d36cc9bc

View File

@ -98,8 +98,7 @@ function createWidget() {
let styles =
"" +
"#screenshot-widget > .toolbarbutton-icon {" +
" list-style-image: url(chrome://browser/skin/Toolbar.png);" +
" -moz-image-region: rect(0px, 18px, 18px, 0px);" +
" list-style-image: url(chrome://browser/skin/thumb-down.svg);" +
"}";
st.appendChild(browserWindow.document.createTextNode(styles));
browserWindow.document.documentElement.appendChild(st);