Bug 1423851 - Enable titlebar/menubar drag on lightweight themes, r=dao
authorMartin Stransky <stransky@redhat.com>
Wed, 14 Feb 2018 15:50:01 +0100
changeset 404013 d4937a53d8261e603b9fbb3f1393e2a509b3e96c
parent 404012 3e332972119f8f76c5c523157c7e5cb2b987fab2
child 404014 cf44885dc2aca866ed9345b28337d146b02e1371
push id99924
push userebalazs@mozilla.com
push dateThu, 15 Feb 2018 20:43:51 +0000
treeherdermozilla-inbound@a7d2a49f46fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1423851
milestone60.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 1423851 - Enable titlebar/menubar drag on lightweight themes, r=dao MozReview-Commit-ID: 2EP2SXGT5nj
browser/themes/linux/browser.css
toolkit/themes/linux/global/global.css
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -465,18 +465,18 @@ notification[value="translation"] menuli
   color: -moz-menubartext;
 }
 
 #nav-bar {
   -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
 }
 
 @media (-moz-menubar-drag) {
-  #toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme),
-  #TabsToolbar:not(:-moz-lwtheme) {
+  #toolbar-menubar:not([autohide="true"]),
+  #TabsToolbar {
     -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
   }
 }
 
 .tabbrowser-tab:focus > .tab-stack > .tab-content {
   outline: 1px dotted;
   outline-offset: -6px;
 }
--- a/toolkit/themes/linux/global/global.css
+++ b/toolkit/themes/linux/global/global.css
@@ -17,17 +17,17 @@ menulist > menupopup {
   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
 }
 
 progressmeter[mode="undetermined"] {
   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
 }
 
 @media (-moz-menubar-drag) {
-  toolbar[type="menubar"]:not([autohide="true"]):not(:-moz-lwtheme) {
+  toolbar[type="menubar"]:not([autohide="true"]) {
     -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
   }
 }
 
 /* ::::: Variables ::::: */
 :root {
   --arrowpanel-padding: 10px;
   --arrowpanel-background: -moz-field;