Bug 1453954 - Stop collapsing the tabs toolbar by default. r=johannh
authorDão Gottwald <dao@mozilla.com>
Fri, 13 Apr 2018 16:06:48 +0200
changeset 413874 37c73a2ce762bdc99cc946914193ae55cffe4cfb
parent 413873 4213de0783d3f5f9f22c7fe24e1d23e5fb0a606e
child 413875 3ce30f63aa94ff6e911fdf3ac9d1608d80a23af7
push id62712
push userdgottwald@mozilla.com
push dateMon, 16 Apr 2018 15:21:54 +0000
treeherderautoland@37c73a2ce762 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1453954
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 1453954 - Stop collapsing the tabs toolbar by default. r=johannh MozReview-Commit-ID: 2ZSGptrzwSC
browser/base/content/browser.css
browser/base/content/browser.xul
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -163,24 +163,16 @@ panelview[mainview] > .panel-header {
 }
 
 .tabbrowser-tab:not([pinned]):not([fadein]) {
   max-width: 0.1px;
   min-width: 0.1px;
   visibility: hidden;
 }
 
-.tab-close-button,
-.tabbrowser-tab::after,
-.tab-background {
-  /* Explicitly set the visibility to override the value (collapsed)
-   * we inherit from #TabsToolbar[collapsed] upon opening a browser window. */
-  visibility: visible;
-}
-
 .tab-close-button[fadein],
 .tabbrowser-tab[fadein]::after,
 .tab-background[fadein] {
   /* This transition is only wanted for opening tabs. */
   transition: visibility 0ms 25ms;
 }
 
 .tab-close-button:not([fadein]),
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -635,18 +635,17 @@
     </toolbar>
 
     <toolbar id="TabsToolbar"
              class="titlebar-color"
              fullscreentoolbar="true"
              customizable="true"
              mode="icons"
              aria-label="&tabsToolbar.label;"
-             context="toolbar-context-menu"
-             collapsed="true">
+             context="toolbar-context-menu">
       <hbox class="titlebar-placeholder" type="pre-tabs"
             skipintoolbarset="true"/>
 
       <tabs id="tabbrowser-tabs"
             flex="1"
             setfocus="false"
             tooltip="tabbrowser-tab-tooltip"
             stopwatchid="FX_TAB_CLICK_MS">