Bug 1450017 - Part VII, Remove unused CSS rules in macOS resizer.css
- There is no longer any resizer[type="window] in the tree (was added in
bug 556645)
- min-width/height was added to ensure the minimum dimensions, but
intrinsic size of native and non-native resizer widget are already
bigger than the size set (and there is no way to overwrite it).
See
bug 636564 comment 71.
MozReview-Commit-ID: A8uYkwoJiVy
--- a/toolkit/themes/osx/global/resizer.css
+++ b/toolkit/themes/osx/global/resizer.css
@@ -4,43 +4,36 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
resizer {
-moz-appearance: resizer;
background: url("chrome://global/skin/icons/resizer.png") no-repeat;
background-size: 100% 100%;
cursor: se-resize;
- min-width: 15px;
width: 15px;
- min-height: 15px;
height: 15px;
}
@media (min-resolution: 2dppx) {
resizer {
background-image: url("chrome://global/skin/icons/resizer@2x.png");
background-size: 100% 100%;
}
}
-resizer[type="window"] {
- display: none;
-}
-
resizer:-moz-locale-dir(rtl) {
background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;
}
@media (min-resolution: 2dppx) {
resizer:-moz-locale-dir(rtl) {
background-image: url("chrome://global/skin/icons/resizer-rtl@2x.png");
background-size: 100% 100%;
}
}
-
resizer[dir="left"],
resizer[dir="bottomleft"],
resizer[dir="bottomstart"] {
transform: scaleX(-1);
}
resizer[dir="bottomleft"],
resizer[dir="bottomstart"]:not(:-moz-locale-dir(rtl)),