mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +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"],
|
intermittentShown: ["win", "linux"],
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
file: "chrome://global/skin/icons/resizer.svg",
|
|
||||||
platforms: ["win"],
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
file: "chrome://browser/skin/window-controls/maximize.svg",
|
file: "chrome://browser/skin/window-controls/maximize.svg",
|
||||||
platforms: ["win"],
|
platforms: ["win"],
|
||||||
|
@ -92,7 +92,7 @@ var RequestWatcher = {
|
|||||||
// have the flag, so we just ignore them.
|
// have the flag, so we just ignore them.
|
||||||
// We also see, eg, resource://gre-resources/loading-image.png, so
|
// We also see, eg, resource://gre-resources/loading-image.png, so
|
||||||
// skip resource:// URLs too.
|
// 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.
|
// skip chrome:// URLs too.
|
||||||
if (req.name.startsWith("about:") || req.name.startsWith("resource:") ||
|
if (req.name.startsWith("about:") || req.name.startsWith("resource:") ||
|
||||||
req.name.startsWith("chrome:") || req.name.startsWith("documentchannel:")) {
|
req.name.startsWith("chrome:") || req.name.startsWith("documentchannel:")) {
|
||||||
|
@ -254,9 +254,6 @@
|
|||||||
|
|
||||||
*|*::-moz-viewport-scroll {
|
*|*::-moz-viewport-scroll {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
%ifdef XP_WIN
|
|
||||||
resize: both;
|
|
||||||
%endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*|*::-moz-column-set,
|
*|*::-moz-column-set,
|
||||||
|
@ -78,7 +78,7 @@ function checkLoadFlags(flags, url) {
|
|||||||
// have the flag, so we just ignore them.
|
// have the flag, so we just ignore them.
|
||||||
// We also see, eg, resource://gre-resources/loading-image.png, so
|
// We also see, eg, resource://gre-resources/loading-image.png, so
|
||||||
// skip resource:// URLs too.
|
// 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.
|
// skip chrome:// URLs too.
|
||||||
if (
|
if (
|
||||||
request.name.startsWith("about:") ||
|
request.name.startsWith("about:") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user