mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1662671 - Remove css for adding an unused resize property for Windows, r=NeilDeakin,remote-protocol-reviewers,maja_zf
Before Quantum, we needed resizer icon on Windows, because when the add-on statusbar was hidden, we could not resize the window. This is not needed anymore and is dead code. Consequentially, this also helps reduce unused images loaded at startup time. Differential Revision: https://phabricator.services.mozilla.com/D91196
This commit is contained in:
parent
cc04d2696e
commit
b6286bd455
@ -57,11 +57,6 @@ const knownUnshownImages = [
|
||||
intermittentShown: ["win", "linux"],
|
||||
},
|
||||
|
||||
{
|
||||
file: "chrome://global/skin/icons/resizer.svg",
|
||||
platforms: ["win"],
|
||||
},
|
||||
|
||||
{
|
||||
file: "chrome://browser/skin/window-controls/maximize.svg",
|
||||
platforms: ["win"],
|
||||
|
@ -92,7 +92,7 @@ var RequestWatcher = {
|
||||
// have the flag, so we just ignore them.
|
||||
// We also see, eg, resource://gre-resources/loading-image.png, so
|
||||
// skip resource:// URLs too.
|
||||
// We may also see, eg, chrome://global/skin/icons/resizer.svg, so
|
||||
// We may also see, eg, chrome://browser/skin/chevron.svg, so
|
||||
// skip chrome:// URLs too.
|
||||
if (req.name.startsWith("about:") || req.name.startsWith("resource:") ||
|
||||
req.name.startsWith("chrome:") || req.name.startsWith("documentchannel:")) {
|
||||
|
@ -254,9 +254,6 @@
|
||||
|
||||
*|*::-moz-viewport-scroll {
|
||||
overflow: auto;
|
||||
%ifdef XP_WIN
|
||||
resize: both;
|
||||
%endif
|
||||
}
|
||||
|
||||
*|*::-moz-column-set,
|
||||
|
@ -78,7 +78,7 @@ function checkLoadFlags(flags, url) {
|
||||
// have the flag, so we just ignore them.
|
||||
// We also see, eg, resource://gre-resources/loading-image.png, so
|
||||
// skip resource:// URLs too.
|
||||
// We may also see, eg, chrome://global/skin/icons/resizer.svg, so
|
||||
// We may also see, eg, chrome://browser/skin/chevron.svg, so
|
||||
// skip chrome:// URLs too.
|
||||
if (
|
||||
request.name.startsWith("about:") ||
|
||||
|
Loading…
Reference in New Issue
Block a user