Bug 1387754 - Let tab separators span the full height of the titlebar. r?johannh draft
authorDão Gottwald <dao@mozilla.com>
Thu, 17 Aug 2017 17:40:19 +0200
changeset 648679 02cc5a6af88f51aa18ae412ceb7d70cc0b0c16d4
parent 648573 a6a1f5c1d971dbee67ba6eec7ead7902351ddca2
child 648680 483699f9718975510426d432e20e8e0bb80294da
push id74853
push userbmo:jhofmann@mozilla.com
push dateFri, 18 Aug 2017 07:15:38 +0000
reviewersjohannh
bugs1387754
milestone57.0a1
Bug 1387754 - Let tab separators span the full height of the titlebar. r?johannh MozReview-Commit-ID: E5cwr333XKE
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -418,16 +418,29 @@
   border-image-slice: 1;
   /* The 1px border and negative margin may amount to a different number of
      device pixels (bug 477157), so we also set a width to match the margin. */
   width: 1px;
   box-sizing: border-box;
   opacity: 0.2;
 }
 
+%ifdef CAN_DRAW_IN_TITLEBAR
+%ifdef MENUBAR_CAN_AUTOHIDE
+:root[tabsintitlebar] #toolbar-menubar[autohide=true] ~ #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab::after,
+:root[tabsintitlebar] #toolbar-menubar[autohide=true] ~ #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab::before
+%else
+:root[tabsintitlebar] .tabbrowser-tab::after,
+:root[tabsintitlebar] .tabbrowser-tab::before
+%endif
+{
+  border-image: none;
+}
+%endif
+
 /* Also show separators beside the selected tab when dragging it. */
 #tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
 .tabbrowser-tab:not([selected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
 #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
   content: "";
   display: -moz-box;
 }