Bug 1466467 - Tab strip overflow arrowscrollboxes have a light border around them. r=dao draft
authorPaolo Amadini <paolo.mozmail@amadzone.org>
Mon, 04 Jun 2018 13:11:02 +0100
changeset 803525 ec308558117e5c5abd3ebde96ef39733ae5ae2ba
parent 803410 0ee6b755ab2ee6d2ab79b17cc97bd4e83424cbfc
push id112132
push userpaolo.mozmail@amadzone.org
push dateMon, 04 Jun 2018 13:19:55 +0000
reviewersdao
bugs1466467
milestone62.0a1
Bug 1466467 - Tab strip overflow arrowscrollboxes have a light border around them. r=dao The "tabbrowser-arrowscrollbox" element was the only case that didn't require the "clicktoscroll" attribute because it was bound directly to a derivate binding. This patch adds back the attribute for proper styling, also in preparation for the future work of consolidating the binding hierarchy. MozReview-Commit-ID: HkHzGZHEMO0
browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -74,16 +74,17 @@
   <binding id="tabbrowser-tabs"
            extends="chrome://global/content/bindings/tabbox.xml#tabs">
     <content>
       <xul:hbox class="tab-drop-indicator-box">
         <xul:image class="tab-drop-indicator" anonid="tab-drop-indicator" collapsed="true"/>
       </xul:hbox>
       <xul:arrowscrollbox anonid="arrowscrollbox" orient="horizontal" flex="1"
                           style="min-width: 1px;"
+                          clicktoscroll="true"
                           class="tabbrowser-arrowscrollbox">
 <!--
  This is a hack to circumvent bug 472020, otherwise the tabs show up on the
  right of the newtab button.
 -->
         <children includes="tab"/>
 <!--
   This is to ensure anything extensions put here will go before the newtab