Bug 1450017 - Part VI, Remove the resizer binding r=enndeakin+6102
authorTimothy Guan-tin Chien <timdream@gmail.com>
Tue, 10 Apr 2018 21:29:19 +0800
changeset 460888 d50230b89a1e8b365d98d51d1f2cefccb124ee42
parent 460887 eabdcd541092ef9974ae8ec4fa5802704f4b8722
child 460889 30abf100e11761be2162e1b0a7b42993d9d3b5ae
push id165
push userfmarier@mozilla.com
push dateMon, 30 Apr 2018 23:50:51 +0000
reviewersenndeakin
bugs1450017
milestone61.0a1
Bug 1450017 - Part VI, Remove the resizer binding r=enndeakin+6102 We unfortunately cannot move the reference of resizer.css to components.css, because the style is needed in web content. MozReview-Commit-ID: 80P3hTtQD14
toolkit/content/jar.mn
toolkit/content/minimal-xul.css
toolkit/content/widgets/resizer.xml
--- a/toolkit/content/jar.mn
+++ b/toolkit/content/jar.mn
@@ -81,17 +81,16 @@ toolkit.jar:
    content/global/bindings/menu.xml            (widgets/menu.xml)
    content/global/bindings/menulist.xml        (widgets/menulist.xml)
    content/global/bindings/notification.xml    (widgets/notification.xml)
    content/global/bindings/numberbox.xml       (widgets/numberbox.xml)
    content/global/bindings/popup.xml           (widgets/popup.xml)
    content/global/bindings/progressmeter.xml   (widgets/progressmeter.xml)
    content/global/bindings/radio.xml           (widgets/radio.xml)
    content/global/bindings/remote-browser.xml  (widgets/remote-browser.xml)
-   content/global/bindings/resizer.xml         (widgets/resizer.xml)
    content/global/bindings/richlistbox.xml     (widgets/richlistbox.xml)
    content/global/bindings/scale.xml           (widgets/scale.xml)
    content/global/bindings/scrollbox.xml       (widgets/scrollbox.xml)
    content/global/bindings/spinner.js          (widgets/spinner.js)
    content/global/bindings/stringbundle.xml    (widgets/stringbundle.xml)
 *  content/global/bindings/tabbox.xml          (widgets/tabbox.xml)
    content/global/bindings/text.xml            (widgets/text.xml)
 *  content/global/bindings/textbox.xml         (widgets/textbox.xml)
--- a/toolkit/content/minimal-xul.css
+++ b/toolkit/content/minimal-xul.css
@@ -13,16 +13,18 @@
  * 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;
@@ -69,17 +71,16 @@ label[control], label.radio-label, label
 
 html|span.accesskey {
   text-decoration: underline;
 }
 
 /********** resizer **********/
 
 resizer {
-  -moz-binding: url("chrome://global/content/bindings/resizer.xml#resizer");
   position: relative;
   z-index: 2147483647;
 }
 
 /********** scrollbar **********/
 
 /* Scrollbars are never flipped even if BiDI kicks in. */
 scrollbar[orient="horizontal"] {
deleted file mode 100644
--- a/toolkit/content/widgets/resizer.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.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/. -->
-
-
-<bindings id="resizerBindings"
-   xmlns="http://www.mozilla.org/xbl">
-
-  <binding id="resizer">
-    <resources>
-      <stylesheet src="chrome://global/skin/resizer.css"/>
-    </resources>
-  </binding>
-
-</bindings>