Bug 579208 - Sizes of some XUL elements changes when lightweight themes are applied. r=dao
authorneil@parkwaycc.co.uk <neil@httl.net>
Mon, 17 Nov 2014 14:27:23 +0100
changeset 216062 be49c680d2f53651a2745cfd21ab113a4811cb86
parent 216061 5fa62659358d8f0c8428bb6189d099abe1b3ad32
child 216063 d075a37f1c2aa711ff90d178810f805d7679ac1d
push id51935
push userryanvm@gmail.com
push dateMon, 17 Nov 2014 21:28:33 +0000
treeherdermozilla-inbound@872f98f50872 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs579208
milestone36.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 579208 - Sizes of some XUL elements changes when lightweight themes are applied. r=dao
toolkit/themes/osx/global/toolbar.css
toolkit/themes/windows/global/menu.css
toolkit/themes/windows/global/toolbar.css
--- a/toolkit/themes/osx/global/toolbar.css
+++ b/toolkit/themes/osx/global/toolbar.css
@@ -9,17 +9,17 @@ toolbar {
   min-height: 20px;
   -moz-appearance: toolbar;
 }
 
 menubar:-moz-lwtheme,
 toolbar:-moz-lwtheme {
   -moz-appearance: none;
   background: none;
-  border-style: none;
+  border-color: transparent;
 }
 
 menubar {
   -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */
   min-width: 1px;
 }
 
 .toolbar-primary {
--- a/toolkit/themes/windows/global/menu.css
+++ b/toolkit/themes/windows/global/menu.css
@@ -122,17 +122,17 @@ menubar > menu[_moz-menuactive="true"]:n
 }
 
 menubar > menu[_moz-menuactive="true"][open="true"] {
   border-width: 3px 1px 1px 3px;
 }
 
 menubar > menu:-moz-lwtheme {
   -moz-appearance: none;
-  border-style: none;
+  border-color: transparent;
 }
 
 menubar > menu:-moz-lwtheme:not([disabled="true"]) {
   color: inherit !important;
 }
 
 menubar > menu:-moz-lwtheme[_moz-menuactive="true"]:not([disabled="true"]) {
   background-color: Highlight;
--- a/toolkit/themes/windows/global/toolbar.css
+++ b/toolkit/themes/windows/global/toolbar.css
@@ -38,17 +38,17 @@ toolbar:first-child, menubar {
 
 /* ::::: lightweight theme ::::: */
  
 menubar:-moz-lwtheme,
 toolbox:-moz-lwtheme,
 toolbar:-moz-lwtheme {
   -moz-appearance: none;
   background: none;
-  border-style: none;
+  border-color: transparent;
 }
 
 /* ::::: toolbar decorations ::::: */
 
 toolbarseparator {
   -moz-appearance: separator;
   border-top: 2px solid transparent;
   border-bottom: 2px solid transparent;