Bug 1369659 - Make sure to hide the panelview header in non-photon panels, because it breaks their layout. r=Gijs
authorMike de Boer <mdeboer@mozilla.com>
Fri, 02 Jun 2017 11:38:43 +0200
changeset 412526 bb5fc68d7f713ca944ab2d85a66269405323963a
parent 412525 b98b73c139ebfd184ae52c3da7191ae37601d996
child 412527 0563db4622e5652cca07986ac9369d691278d0d6
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1369659
milestone55.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 1369659 - Make sure to hide the panelview header in non-photon panels, because it breaks their layout. r=Gijs MozReview-Commit-ID: LYNGkpo6iv6
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -108,17 +108,18 @@ panelview {
   transition: transform var(--panelui-subview-transition-duration);
 }
 
 panelview:not([mainview]):not([current]) {
   transition: visibility 0s linear var(--panelui-subview-transition-duration);
   visibility: collapse;
 }
 
-panelview[mainview] > .panel-header {
+panelview[mainview] > .panel-header,
+panelview:not([title]) > .panel-header {
   display: none;
 }
 
 tabbrowser {
   -moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser");
 }
 
 .tabbrowser-tabs {