Bug 1450017 - Part VII, Remove unused CSS rules in macOS resizer.css r=enndeakin+6102
authorTimothy Guan-tin Chien <timdream@gmail.com>
Tue, 10 Apr 2018 07:41:52 +0800
changeset 415873 30abf100e11761be2162e1b0a7b42993d9d3b5ae
parent 415872 d50230b89a1e8b365d98d51d1f2cefccb124ee42
child 415874 7d7480f8fd9e4b89be3d409ef13da4633b840714
push id33911
push usercsabou@mozilla.com
push dateFri, 27 Apr 2018 10:01:39 +0000
treeherdermozilla-central@822936017145 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenndeakin
bugs1450017, 556645, 636564
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1450017 - Part VII, Remove unused CSS rules in macOS resizer.css r=enndeakin+6102 - 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
toolkit/themes/osx/global/resizer.css
--- 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)),