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 403935 d4937a53d8261e603b9fbb3f1393e2a509b3e96c
parent 403934 3e332972119f8f76c5c523157c7e5cb2b987fab2
child 403936 cf44885dc2aca866ed9345b28337d146b02e1371
push id33446
push usernerli@mozilla.com
push dateThu, 15 Feb 2018 19:28:20 +0000
treeherdermozilla-central@dc9ba6649af7 [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;