mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
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:
parent
6446f9a80e
commit
79d36cc9bc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user