Bug 1450017 - Part IX, Move resizer style rules to minimal-xul.css and unify non-native resizer style r=dao
authorTimothy Guan-tin Chien <timdream@gmail.com>
Tue, 10 Apr 2018 21:31:25 +0800
changeset 415875 94d0e43dad115ca9c7295278415ffa11abfb00a1
parent 415874 7d7480f8fd9e4b89be3d409ef13da4633b840714
child 415876 60f901febe0d83fec6fb072b39d9c6837fb114e6
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)
reviewersdao
bugs1450017
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 IX, Move resizer style rules to minimal-xul.css and unify non-native resizer style r=dao MozReview-Commit-ID: LEodr0aTPkM
browser/base/content/test/performance/browser_startup_images.js
browser/installer/allowed-dupes.mn
docshell/test/chrome/test_bug909218.html
layout/reftests/forms/textarea/resize-background-ref.html
layout/reftests/xul/reftest.list
mobile/android/installer/allowed-dupes.mn
toolkit/content/minimal-xul.css
toolkit/themes/linux/global/icons/resizer-rtl.png
toolkit/themes/linux/global/icons/resizer.png
toolkit/themes/linux/global/jar.mn
toolkit/themes/mobile/jar.mn
toolkit/themes/osx/global/icons/resizer-rtl.png
toolkit/themes/osx/global/icons/resizer-rtl@2x.png
toolkit/themes/osx/global/icons/resizer.png
toolkit/themes/osx/global/icons/resizer@2x.png
toolkit/themes/osx/global/jar.mn
toolkit/themes/osx/global/resizer.css
toolkit/themes/shared/icons/resizer-rtl.svg
toolkit/themes/shared/icons/resizer.svg
toolkit/themes/shared/jar.inc.mn
toolkit/themes/shared/non-mac.jar.inc.mn
toolkit/themes/windows/global/icons/resizer-rtl.png
toolkit/themes/windows/global/icons/resizer.png
toolkit/themes/windows/global/jar.mn
toolkit/themes/windows/global/resizer.css
--- a/browser/base/content/test/performance/browser_startup_images.js
+++ b/browser/base/content/test/performance/browser_startup_images.js
@@ -60,17 +60,17 @@ const whitelist = [
 
   {
     file: "chrome://browser/skin/chevron.svg",
     platforms: ["win", "linux", "macosx"],
     intermittentShown: ["win", "linux"],
   },
 
   {
-    file: "chrome://global/skin/icons/resizer.png",
+    file: "chrome://global/skin/icons/resizer.svg",
     platforms: ["win"],
   },
 
   {
     file: "chrome://browser/skin/window-controls/maximize.svg",
     platforms: ["win"],
     // This is to prevent perma-fails in case Windows machines
     // go back to running tests in non-maximized windows.
--- a/browser/installer/allowed-dupes.mn
+++ b/browser/installer/allowed-dupes.mn
@@ -97,17 +97,16 @@ chrome/toolkit/skin/classic/global/icons
 chrome/toolkit/skin/classic/global/listbox.css
 chrome/toolkit/skin/classic/global/menu.css
 chrome/toolkit/skin/classic/global/menulist.css
 chrome/toolkit/skin/classic/global/numberbox.css
 chrome/toolkit/skin/classic/global/popup.css
 chrome/toolkit/skin/classic/global/preferences.css
 chrome/toolkit/skin/classic/global/progressmeter.css
 chrome/toolkit/skin/classic/global/radio.css
-chrome/toolkit/skin/classic/global/resizer.css
 chrome/toolkit/skin/classic/global/richlistbox.css
 chrome/toolkit/skin/classic/global/scale.css
 chrome/toolkit/skin/classic/global/scrollbars.css
 chrome/toolkit/skin/classic/global/scrollbox.css
 chrome/toolkit/skin/classic/global/splitter.css
 chrome/toolkit/skin/classic/global/tabbox.css
 chrome/toolkit/skin/classic/global/textbox.css
 chrome/toolkit/skin/classic/global/toolbar.css
--- a/docshell/test/chrome/test_bug909218.html
+++ b/docshell/test/chrome/test_bug909218.html
@@ -90,17 +90,17 @@ RequestWatcher = {
     // We are checking requests - if there isn't one, ignore it.
     if (!req) {
       return;
     }
     // We will usually see requests for 'about:document-onload-blocker' not
     // 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.png, so
+    // We may also see, eg, chrome://global/skin/icons/resizer.svg, so
     // skip chrome:// URLs too.
     if (req.name.startsWith("about:") || req.name.startsWith("resource:") ||
       req.name.startsWith("chrome:")) {
       return;
     }
     is(req.loadFlags & TEST_FLAGS, TEST_FLAGS, "request " + req.name + " has the expected flags");
     this.requestCounts[req.name] += 1;
     var stopFlags = Ci.nsIWebProgressListener.STATE_STOP |
--- a/layout/reftests/forms/textarea/resize-background-ref.html
+++ b/layout/reftests/forms/textarea/resize-background-ref.html
@@ -19,12 +19,12 @@ function sizeResizer() {
 <body onload="sizeResizer()">
 <textarea style="width: 200px; height: 200px; margin: 0; border: none;
                  background: red; font-size: 400px;">
 M
 </textarea>
 <div style="position: relative; top: -200px;
             width: 200px; height: 200px; margin: 0; border: none;
             background: lightgreen">
-  <img style="position: relative;" src="chrome://global/skin/icons/resizer.png">
+  <img style="position: relative;" src="chrome://global/skin/icons/resizer.svg">
 </div>
 </body>
 </html>
--- a/layout/reftests/xul/reftest.list
+++ b/layout/reftests/xul/reftest.list
@@ -75,20 +75,25 @@ skip == treecell-image-svg-1a.xul treece
 skip == treecell-image-svg-1b.xul treecell-image-svg-1-ref.xul # bug 1218954
 
 == treechildren-padding-percent-1.xul treechildren-padding-percent-1-ref.xul
 
 != treetwisty-svg-context-paint-1-not-ref.xul treetwisty-svg-context-paint-1-ref.xul
 test-pref(svg.context-properties.content.enabled,true) == treetwisty-svg-context-paint-1.xul treetwisty-svg-context-paint-1-ref.xul
 
 # resizer (non-native-themed)
+
 != resizer-bottomend.xul blank-window.xul
 == resizer-bottomend.xul resizer-bottomright.xul
 != resizer-bottomend.xul resizer-bottomend-rtl.xul
 != resizer-bottomend-rtl.xul blank-window.xul
-== resizer-bottomend-rtl.xul resizer-bottomend-flipped.xul
+# fuzzy for comparing SVG image flipped by CSS with a flipped SVG image.
+# See bug 1450017 comment 79.
+fuzzy(42,98) == resizer-bottomend-rtl.xul resizer-bottomend-flipped.xul
 
 != resizer-bottomstart.xul blank-window.xul
 == resizer-bottomstart.xul resizer-bottomleft.xul
 == resizer-bottomstart.xul resizer-left.xul
 != resizer-bottomstart.xul resizer-bottomstart-rtl.xul
 != resizer-bottomstart-rtl.xul blank-window.xul
-== resizer-bottomstart-rtl.xul resizer-bottomend.xul
+# fuzzy for comparing SVG image flipped by CSS to a flipped SVG image.
+# See bug 1450017 comment 79.
+fuzzy(42,98) == resizer-bottomstart-rtl.xul resizer-bottomend.xul
--- a/mobile/android/installer/allowed-dupes.mn
+++ b/mobile/android/installer/allowed-dupes.mn
@@ -15,17 +15,16 @@ chrome/toolkit/skin/classic/global/group
 chrome/toolkit/skin/classic/global/listbox.css
 chrome/toolkit/skin/classic/global/menu.css
 chrome/toolkit/skin/classic/global/menulist.css
 chrome/toolkit/skin/classic/global/numberbox.css
 chrome/toolkit/skin/classic/global/popup.css
 chrome/toolkit/skin/classic/global/preferences.css
 chrome/toolkit/skin/classic/global/progressmeter.css
 chrome/toolkit/skin/classic/global/radio.css
-chrome/toolkit/skin/classic/global/resizer.css
 chrome/toolkit/skin/classic/global/richlistbox.css
 chrome/toolkit/skin/classic/global/scale.css
 chrome/toolkit/skin/classic/global/scrollbars.css
 chrome/toolkit/skin/classic/global/scrollbox.css
 chrome/toolkit/skin/classic/global/splitter.css
 chrome/toolkit/skin/classic/global/tabbox.css
 chrome/toolkit/skin/classic/global/textbox.css
 chrome/toolkit/skin/classic/global/toolbar.css
--- a/toolkit/content/minimal-xul.css
+++ b/toolkit/content/minimal-xul.css
@@ -13,18 +13,16 @@
  * widgets of a particular application should be in that application's style
  * sheet.  For example style definitions for navigator can be found in
  * navigator.css.
  *
  * THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST
  * HAVING YOUR CHANGES REVIEWED BY enndeakin@gmail.com
  */
 
-@import url("chrome://global/skin/resizer.css");
-
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
 @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
 
 * {
   -moz-user-focus: ignore;
   -moz-user-select: none;
   display: -moz-box;
   box-sizing: border-box;
@@ -73,16 +71,59 @@ html|span.accesskey {
   text-decoration: underline;
 }
 
 /********** resizer **********/
 
 resizer {
   position: relative;
   z-index: 2147483647;
+  -moz-appearance: resizer;
+  background: url("chrome://global/skin/icons/resizer.svg") no-repeat;
+  background-size: 100% 100%;
+  cursor: se-resize;
+  width: 15px;
+  height: 15px;
+}
+
+/* Do not try to remove the RTL asset and flip it with CSS transform;
+   native theme style rely on CSS transfrom below to flip too, when
+   replacing the background image. */
+resizer:-moz-locale-dir(rtl) {
+  background: url("chrome://global/skin/icons/resizer-rtl.svg") no-repeat;
+}
+
+resizer[dir="left"],
+resizer[dir="bottomleft"],
+resizer[dir="bottomstart"] {
+  transform: scaleX(-1);
+}
+
+resizer[dir="bottomleft"],
+resizer[dir="bottomstart"]:not(:-moz-locale-dir(rtl)),
+resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
+  cursor: sw-resize;
+}
+
+resizer[dir="top"],
+resizer[dir="bottom"] {
+  cursor: ns-resize;
+}
+
+resizer[dir="left"],
+resizer[dir="right"] {
+  cursor: ew-resize;
+}
+
+resizer[dir="topleft"] {
+  cursor: nw-resize;
+}
+
+resizer[dir="topright"] {
+  cursor: ne-resize;
 }
 
 /********** scrollbar **********/
 
 /* Scrollbars are never flipped even if BiDI kicks in. */
 scrollbar[orient="horizontal"] {
   direction: ltr;
 }
deleted file mode 100644
index e72a30715d022fbe74b4d83a7c8de19981d2f188..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 1789a9c93bc45d04130e409333e4c7ca8985f1d0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/toolkit/themes/linux/global/jar.mn
+++ b/toolkit/themes/linux/global/jar.mn
@@ -34,17 +34,15 @@ toolkit.jar:
    skin/classic/global/arrow/arrow-dn-hov.gif                  (arrow/arrow-dn-hov.gif)
    skin/classic/global/arrow/arrow-up-hov.gif                  (arrow/arrow-up-hov.gif)
 
    skin/classic/global/icons/Authentication.png                (icons/Authentication.png)
    skin/classic/global/icons/blacklist_favicon.png             (icons/blacklist_favicon.png)
    skin/classic/global/icons/blacklist_large.png               (icons/blacklist_large.png)
    skin/classic/global/icons/Close.gif                         (icons/Close.gif)
    skin/classic/global/icons/Minimize.gif                      (icons/Minimize.gif)
-   skin/classic/global/icons/resizer.png                       (icons/resizer.png)
-   skin/classic/global/icons/resizer-rtl.png                   (icons/resizer-rtl.png)
    skin/classic/global/icons/Restore.gif                       (icons/Restore.gif)
    skin/classic/global/icons/sslWarning.png                    (icons/sslWarning.png)
 
 *  skin/classic/global/in-content/common.css                   (in-content/common.css)
 *  skin/classic/global/in-content/info-pages.css               (in-content/info-pages.css)
    skin/classic/global/tree/twisty-clsd.png                    (tree/twisty-clsd.png)
    skin/classic/global/tree/twisty-open.png                    (tree/twisty-open.png)
--- a/toolkit/themes/mobile/jar.mn
+++ b/toolkit/themes/mobile/jar.mn
@@ -14,17 +14,16 @@ toolkit.jar:
    skin/classic/global/groupbox.css                        (global/empty.css)
    skin/classic/global/listbox.css                         (global/empty.css)
    skin/classic/global/menu.css                            (global/empty.css)
    skin/classic/global/menulist.css                        (global/empty.css)
    skin/classic/global/numberbox.css                       (global/empty.css)
    skin/classic/global/popup.css                           (global/empty.css)
    skin/classic/global/progressmeter.css                   (global/empty.css)
    skin/classic/global/radio.css                           (global/empty.css)
-   skin/classic/global/resizer.css                         (global/empty.css)
    skin/classic/global/richlistbox.css                     (global/empty.css)
    skin/classic/global/scale.css                           (global/empty.css)
    skin/classic/global/scrollbox.css                       (global/empty.css)
    skin/classic/global/splitter.css                        (global/empty.css)
    skin/classic/global/tabbox.css                          (global/empty.css)
    skin/classic/global/textbox.css                         (global/empty.css)
    skin/classic/global/toolbar.css                         (global/empty.css)
    skin/classic/global/toolbarbutton.css                   (global/empty.css)
deleted file mode 100644
index c53c47984e6429684116d37cf872519de91289ad..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 1733a5473e11840e80a1e61bf1718dfb2b4d0a2a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index fdd215cc4e8c1da32a35d0179b834d3a047fa897..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index f4201aafb821a78e66b80d32ebcb394591a0805a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/toolkit/themes/osx/global/jar.mn
+++ b/toolkit/themes/osx/global/jar.mn
@@ -19,17 +19,16 @@ toolkit.jar:
   skin/classic/global/menu.css
   skin/classic/global/menulist.css
 * skin/classic/global/notification.css
   skin/classic/global/netError.css
 * skin/classic/global/numberbox.css
   skin/classic/global/popup.css
   skin/classic/global/progressmeter.css
   skin/classic/global/radio.css
-  skin/classic/global/resizer.css
   skin/classic/global/richlistbox.css
   skin/classic/global/scrollbars.css                                 (nativescrollbars.css)
   skin/classic/global/scrollbox.css
   skin/classic/global/splitter.css
   skin/classic/global/tabprompts.css
   skin/classic/global/tabbox.css
   skin/classic/global/textbox.css
   skin/classic/global/toolbar.css
@@ -56,20 +55,16 @@ toolkit.jar:
   skin/classic/global/dirListing/dirListing.css                      (dirListing/dirListing.css)
   skin/classic/global/dirListing/folder.png                          (dirListing/folder.png)
   skin/classic/global/dirListing/up.png                              (dirListing/up.png)
   skin/classic/global/icons/blacklist_favicon.png                    (icons/blacklist_favicon.png)
   skin/classic/global/icons/blacklist_64.png                         (icons/blacklist_64.png)
   skin/classic/global/icons/glyph-dropdown.png                       (icons/glyph-dropdown.png)
   skin/classic/global/icons/glyph-dropdown@2x.png                    (icons/glyph-dropdown@2x.png)
   skin/classic/global/icons/panel-dropmarker.png                     (icons/panel-dropmarker.png)
-  skin/classic/global/icons/resizer.png                              (icons/resizer.png)
-  skin/classic/global/icons/resizer@2x.png                           (icons/resizer@2x.png)
-  skin/classic/global/icons/resizer-rtl.png                          (icons/resizer-rtl.png)
-  skin/classic/global/icons/resizer-rtl@2x.png                       (icons/resizer-rtl@2x.png)
   skin/classic/global/icons/search-textbox.svg                       (icons/search-textbox.svg)
   skin/classic/global/icons/searchfield-cancel.svg                   (icons/searchfield-cancel.svg)
   skin/classic/global/icons/warning-16.png                           (icons/warning-16.png)
   skin/classic/global/icons/warning-64.png                           (icons/warning-64.png)
   skin/classic/global/icons/warning-large.png                        (icons/warning-large.png)
   skin/classic/global/icons/error-16.png                             (icons/error-16.png)
   skin/classic/global/icons/error-64.png                             (icons/error-64.png)
   skin/classic/global/icons/question-16.png                          (icons/question-16.png)
deleted file mode 100644
--- a/toolkit/themes/osx/global/resizer.css
+++ /dev/null
@@ -1,60 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * 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;
-}
-@media (min-resolution: 2dppx) {
-  resizer {
-    background-image: url("chrome://global/skin/icons/resizer@2x.png");
-    background-size: 100% 100%;
-  }
-}
-
-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)),
-resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
-  cursor: sw-resize;
-}
-
-resizer[dir="top"],
-resizer[dir="bottom"] {
-  cursor: ns-resize;
-}
-
-resizer[dir="left"],
-resizer[dir="right"] {
-  cursor: ew-resize;
-}
-
-resizer[dir="topleft"] {
-  cursor: nw-resize;
-}
-
-resizer[dir="topright"] {
-  cursor: ne-resize;
-}
new file mode 100644
--- /dev/null
+++ b/toolkit/themes/shared/icons/resizer-rtl.svg
@@ -0,0 +1,13 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
+  <path d="M 0.658,2.129 1.14,1.646 a 0.5,0.5 0 0 0 0,0.708 L 12.646,13.86 a 0.5,0.5 0 0 0 0.708,0 l -0.483,0.482 a 0.5,0.5 0 0 1 -0.707,0 L 0.658,2.836 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#f9f9fa" opacity=".4"/>
+  <path d="m 0.644,5.649 0.5,-0.5 a 0.5,0.5 0 0 0 0,0.707 l 8,8 a 0.5,0.5 0 0 0 0.707,0 l -0.5,0.5 a 0.5,0.5 0 0 1 -0.707,0 l -8,-8 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#f9f9fa" opacity=".4"/>
+  <path d="M 0.637,9.158 1.148,8.647 a 0.5,0.5 0 0 0 0,0.707 l 4.5,4.5 a 0.5,0.5 0 0 0 0.707,0 l -0.511,0.511 a 0.5,0.5 0 0 1 -0.707,0 l -4.5,-4.5 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#f9f9fa" opacity=".4"/>
+  <path d="m 0.685,12.621 0.468,-0.468 a 0.5,0.5 0 0 0 0,0.707 l 0.993,0.993 a 0.5,0.5 0 0 0 0.707,0 l -0.468,0.468 a 0.5,0.5 0 0 1 -0.707,0 L 0.685,13.328 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#f9f9fa" opacity=".4"/>
+  <path d="m 1.14,1.646 a 0.5,0.5 0 0 1 0.708,0 L 13.354,13.152 A 0.5006316,0.5006316 0 1 1 12.646,13.86 L 1.14,2.354 a 0.5,0.5 0 0 1 0,-0.708 z" fill="#0c0c0d" opacity=".4"/>
+  <path d="m 1.146,5.146 a 0.5,0.5 0 0 1 0.707,0 l 8,8 a 0.5,0.5 0 0 1 -0.707,0.707 l -8,-8 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#0c0c0d" opacity=".4"/>
+  <path d="m 1.148,8.647 a 0.5,0.5 0 0 1 0.707,0 l 4.5,4.5 a 0.5,0.5 0 0 1 -0.707,0.707 l -4.5,-4.5 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#0c0c0d" opacity=".4"/>
+  <path d="m 1.153,12.153 a 0.5,0.5 0 0 1 0.707,0 l 0.993,0.993 A 0.5,0.5 0 1 1 2.146,13.853 L 1.153,12.86 a 0.5,0.5 0 0 1 0,-0.707 z" fill="#0c0c0d" opacity=".4"/>
+</svg>
new file mode 100644
--- /dev/null
+++ b/toolkit/themes/shared/icons/resizer.svg
@@ -0,0 +1,13 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15">
+  <path d="M14.342 2.129l-.482-.483a.5.5 0 0 1 0 .708L2.354 13.86a.5.5 0 0 1-.708 0l.483.482a.5.5 0 0 0 .707 0L14.342 2.836a.5.5 0 0 0 0-.707z" fill="#f9f9fa" opacity=".4"/>
+  <path d="M14.356 5.649l-.5-.5a.5.5 0 0 1 0 .707l-8 8a.5.5 0 0 1-.707 0l.5.5a.5.5 0 0 0 .707 0l8-8a.5.5 0 0 0 0-.707z" fill="#f9f9fa" opacity=".4"/>
+  <path d="M14.363 9.158l-.511-.511a.5.5 0 0 1 0 .707l-4.5 4.5a.5.5 0 0 1-.707 0l.511.511a.5.5 0 0 0 .707 0l4.5-4.5a.5.5 0 0 0 0-.707z" fill="#f9f9fa" opacity=".4"/>
+  <path d="M14.315 12.621l-.468-.468a.5.5 0 0 1 0 .707l-.993.993a.5.5 0 0 1-.707 0l.468.468a.5.5 0 0 0 .707 0l.993-.993a.5.5 0 0 0 0-.707z" fill="#f9f9fa" opacity=".4"/>
+  <path d="M13.86 1.646a.5.5 0 0 0-.708 0L1.646 13.152a.5.5 0 1 0 .708.708L13.86 2.354a.5.5 0 0 0 0-.708z" fill="#0c0c0d" opacity=".6"/>
+  <path d="M13.854 5.146a.5.5 0 0 0-.707 0l-8 8a.5.5 0 0 0 .707.707l8-8a.5.5 0 0 0 0-.707z" fill="#0c0c0d" opacity=".6"/>
+  <path d="M13.852 8.647a.5.5 0 0 0-.707 0l-4.5 4.5a.5.5 0 0 0 .707.707l4.5-4.5a.5.5 0 0 0 0-.707z" fill="#0c0c0d" opacity=".6"/>
+  <path d="M13.847 12.153a.5.5 0 0 0-.707 0l-.993.993a.5.5 0 1 0 .707.707l.993-.993a.5.5 0 0 0 0-.707z" fill="#0c0c0d" opacity=".6"/>
+</svg>
--- a/toolkit/themes/shared/jar.inc.mn
+++ b/toolkit/themes/shared/jar.inc.mn
@@ -34,16 +34,18 @@ toolkit.jar:
   skin/classic/global/icons/error.svg                      (../../shared/icons/error.svg)
   skin/classic/global/icons/find-previous-arrow.svg        (../../shared/icons/find-previous-arrow.svg)
   skin/classic/global/icons/find-next-arrow.svg            (../../shared/icons/find-next-arrow.svg)
   skin/classic/global/icons/help.svg                       (../../shared/icons/help.svg)
   skin/classic/global/icons/info.svg                       (../../shared/incontent-icons/info.svg)
   skin/classic/global/icons/input-clear.svg                (../../shared/icons/input-clear.svg)
   skin/classic/global/icons/loading.png                    (../../shared/icons/loading.png)
   skin/classic/global/icons/loading@2x.png                 (../../shared/icons/loading@2x.png)
+  skin/classic/global/icons/resizer.svg                    (../../shared/icons/resizer.svg)
+  skin/classic/global/icons/resizer-rtl.svg                (../../shared/icons/resizer-rtl.svg)
   skin/classic/global/icons/spinner-arrow-down.svg         (../../shared/icons/spinner-arrow-down.svg)
   skin/classic/global/icons/spinner-arrow-up.svg           (../../shared/icons/spinner-arrow-up.svg)
   skin/classic/global/icons/arrow-dropdown-12.svg          (../../shared/icons/arrow-dropdown-12.svg)
   skin/classic/global/icons/arrow-dropdown-16.svg          (../../shared/icons/arrow-dropdown-16.svg)
   skin/classic/global/icons/warning.svg                    (../../shared/icons/warning.svg)
   skin/classic/global/illustrations/about-rights.svg       (../../shared/illustrations/about-rights.svg)
   skin/classic/global/icons/blocked.svg                    (../../shared/incontent-icons/blocked.svg)
   skin/classic/global/illustrations/about-license.svg      (../../shared/illustrations/about-license.svg)
--- a/toolkit/themes/shared/non-mac.jar.inc.mn
+++ b/toolkit/themes/shared/non-mac.jar.inc.mn
@@ -7,17 +7,16 @@
 # manifests.
 # As a result, the source file paths are relative to the location of the
 # actual manifests.
 
 #include jar.inc.mn
 
   skin/classic/global/dialog.css                           (../../windows/global/dialog.css)
   skin/classic/global/progressmeter.css                    (../../windows/global/progressmeter.css)
-  skin/classic/global/resizer.css                          (../../windows/global/resizer.css)
   skin/classic/global/richlistbox.css                      (../../windows/global/richlistbox.css)
   skin/classic/global/scrollbars.css                       (../../windows/global/xulscrollbars.css)
   skin/classic/global/tabprompts.css                       (../../windows/global/tabprompts.css)
   skin/classic/global/wizard.css                           (../../windows/global/wizard.css)
 
   skin/classic/global/arrow/arrow-dn.gif                   (../../windows/global/arrow/arrow-dn.gif)
   skin/classic/global/arrow/arrow-up.gif                   (../../windows/global/arrow/arrow-up.gif)
   skin/classic/global/arrow/panelarrow-horizontal.svg      (../../windows/global/arrow/panelarrow-horizontal.svg)
deleted file mode 100644
index 7d228bc5d7006f5622b5e80144af9c8ba591b99b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index e36712046d01c3f5c7de84df9c65ef7b81c09fd8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
--- a/toolkit/themes/windows/global/jar.mn
+++ b/toolkit/themes/windows/global/jar.mn
@@ -46,18 +46,16 @@ toolkit.jar:
   skin/classic/global/icons/collapse.png                   (icons/collapse.png)
   skin/classic/global/icons/expand.png                     (icons/expand.png)
   skin/classic/global/icons/folder-item.png                (icons/folder-item.png)
   skin/classic/global/icons/Landscape.png                  (icons/Landscape.png)
   skin/classic/global/icons/Portrait.png                   (icons/Portrait.png)
   skin/classic/global/icons/Print-preview.png              (icons/Print-preview.png)
   skin/classic/global/icons/Search-close.png               (icons/Search-close.png)
   skin/classic/global/icons/Question.png                   (icons/Question.png)
-  skin/classic/global/icons/resizer.png                    (icons/resizer.png)
-  skin/classic/global/icons/resizer-rtl.png                (icons/resizer-rtl.png)
   skin/classic/global/icons/sslWarning.png                 (icons/sslWarning.png)
   skin/classic/global/icons/Warning.png                    (icons/Warning.png)
   skin/classic/global/icons/warning-large.png              (icons/warning-large.png)
   skin/classic/global/icons/windowControls.png             (icons/windowControls.png)
 * skin/classic/global/in-content/common.css                (in-content/common.css)
 * skin/classic/global/in-content/info-pages.css            (in-content/info-pages.css)
   skin/classic/global/tree/twisty.svg                      (tree/twisty.svg)
   skin/classic/global/tree/twisty-preWin10.svg             (tree/twisty-preWin10.svg)
deleted file mode 100644
--- a/toolkit/themes/windows/global/resizer.css
+++ /dev/null
@@ -1,48 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * 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:-moz-locale-dir(rtl) {
-  background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;
-}
-
-resizer[dir="left"],
-resizer[dir="bottomleft"],
-resizer[dir="bottomstart"] {
-  transform: scaleX(-1);
-}
-
-resizer[dir="bottomleft"],
-resizer[dir="bottomstart"]:not(:-moz-locale-dir(rtl)),
-resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
-  cursor: sw-resize;
-}
-
-resizer[dir="top"],
-resizer[dir="bottom"] {
-  cursor: ns-resize;
-}
-
-resizer[dir="left"],
-resizer[dir="right"] {
-  cursor: ew-resize;
-}
-
-resizer[dir="topleft"] {
-  cursor: nw-resize;
-}
-
-resizer[dir="topright"] {
-  cursor: ne-resize;
-}