Bug 1446163 - Remove the splitter binding r=enn
authorMatt Claypotch <mclaypotch@mozilla.com>
Fri, 16 Mar 2018 14:53:00 +0200
changeset 408975 b42d97021503939e355002add1d5f5a7b8a272d8
parent 408974 78dc6b0c4798e4414e99fec61e456aa3f065601a
child 408976 d0da2be2c9508f48b8e4804bd4a4ca3b37b56d4f
push id33667
push userebalazs@mozilla.com
push dateTue, 20 Mar 2018 16:50:19 +0000
treeherdermozilla-central@3d4f4a6bb6ba [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenn
bugs1446163
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 1446163 - Remove the splitter binding r=enn
toolkit/content/components.css
toolkit/content/widgets/splitter.xml
toolkit/content/xul.css
--- a/toolkit/content/components.css
+++ b/toolkit/content/components.css
@@ -3,8 +3,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* ===== components.css =================================================
   == Styles ported from XBL <resources>, loaded as UA styles in every XUL doc
   ======================================================================= */
 
 @import url("chrome://global/skin/menu.css");
 @import url("chrome://global/skin/toolbar.css");
+@import url("chrome://global/skin/splitter.css");
--- a/toolkit/content/widgets/splitter.xml
+++ b/toolkit/content/widgets/splitter.xml
@@ -3,26 +3,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/. -->
 
 
 <bindings id="splitterBindings"
    xmlns="http://www.mozilla.org/xbl"
    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <binding id="splitter" extends="xul:splitter">
-    <resources>
-      <stylesheet src="chrome://global/skin/splitter.css"/>
-    </resources>
-  </binding>
-
   <binding id="grippy" extends="xul:button">
-    <resources>
-      <stylesheet src="chrome://global/skin/splitter.css"/>
-    </resources>
     <handlers>
       <handler event="command">
         <![CDATA[
           var splitter = this.parentNode;
           if (splitter) {
             var state = splitter.getAttribute("state");
             if (state == "collapsed")
               splitter.setAttribute("state", "open");
--- a/toolkit/content/xul.css
+++ b/toolkit/content/xul.css
@@ -840,20 +840,16 @@ menulist > menupopup > menuitem {
 }
 
 dropmarker {
   -moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
 }
 
 /********** splitter **********/
 
-splitter {
-  -moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
-}
-
 grippy {
   -moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
 }
 
 .tree-splitter {
   width: 0px;
   max-width: 0px;
   min-width: 0% ! important;