Bug 1451408 - Remove unused "button-repeat" binding. r=bgrins
authorPaolo Amadini <paolo.mozmail@amadzone.org>
Thu, 12 Apr 2018 16:05:30 +0100
changeset 781487 4d8757b2fc9e75b536b20fe3d2726b3a4093f655
parent 781381 e4a176915c3c4443afbb84545acd27d505471898
child 781488 91cfe8e76dd18e360ef9e79166abac11c94e3f9e
push id106312
push userhaftandilian@mozilla.com
push dateThu, 12 Apr 2018 23:43:57 +0000
reviewersbgrins
bugs1451408
milestone61.0a1
Bug 1451408 - Remove unused "button-repeat" binding. r=bgrins MozReview-Commit-ID: 20A1zxLgnWz
toolkit/content/widgets/button.xml
toolkit/content/xul.css
--- a/toolkit/content/widgets/button.xml
+++ b/toolkit/content/widgets/button.xml
@@ -367,12 +367,9 @@
                   xbl:inherits="disabled,crop,image,label,accesskey,command,
                                 buttonover,buttondown,align,dir,pack,orient">
         <children/>
       </xul:button>
       <xul:dropmarker class="button-menubutton-dropmarker" xbl:inherits="open,disabled,label"/>
     </content>
   </binding>
 
-  <binding id="button-repeat" display="xul:autorepeatbutton"
-           extends="chrome://global/content/bindings/button.xml#button"/>
-
 </bindings>
--- a/toolkit/content/xul.css
+++ b/toolkit/content/xul.css
@@ -101,20 +101,16 @@ vbox {
 }
 
 /********** button **********/
 
 button {
   -moz-binding: url("chrome://global/content/bindings/button.xml#button");
 }
 
-button[type="repeat"] {
-  -moz-binding: url("chrome://global/content/bindings/button.xml#button-repeat");
-}
-
 button[type="menu"] {
   -moz-binding: url("chrome://global/content/bindings/button.xml#menu");
 }
 
 button[type="menu-button"] {
   -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
 }