bug 801277 - prevent the resizer graphic being scaled by page zoom. r=roc
authorJonathan Kew <jkew@mozilla.com>
Wed, 17 Oct 2012 09:48:21 +0100
changeset 110652 af26f70eb73eb23ec83f421b7b3f832c507061bc
parent 110651 cb4344e9d62837d50d27ff5c1c868b2a5a14cb3a
child 110653 b5964726ad30b6d45de56d96d26478501009d681
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersroc
bugs801277
milestone19.0a1
bug 801277 - prevent the resizer graphic being scaled by page zoom. r=roc
toolkit/themes/pinstripe/global/resizer.css
toolkit/themes/winstripe/global/resizer.css
--- a/toolkit/themes/pinstripe/global/resizer.css
+++ b/toolkit/themes/pinstripe/global/resizer.css
@@ -2,16 +2,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @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;
   width: 15px;
   height: 15px;
 }
 
 resizer[type="window"] {
   display: none;
 }
--- a/toolkit/themes/winstripe/global/resizer.css
+++ b/toolkit/themes/winstripe/global/resizer.css
@@ -2,16 +2,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @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;
   width: 15px;
   height: 15px;
 }
 
 resizer[rtl="true"],
 resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
   background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;