Bug 578322 - Remove support for <popup> from all themes. r=enn
authorDão Gottwald <dao@mozilla.com>
Wed, 14 Jul 2010 08:46:12 +0200
changeset 47375 6d5be6f065c8ba5c28efacaa85c9e5825f077509
parent 47374 12ea384540e3ce140a53955539841e4403ffdf76
child 47376 d5b7c293500001b5dc4ea845f698d104e465c785
push id14369
push userdgottwald@mozilla.com
push dateWed, 14 Jul 2010 06:50:58 +0000
treeherdermozilla-central@97fd6a75cf7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenn
bugs578322
milestone2.0b2pre
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 578322 - Remove support for <popup> from all themes. r=enn
toolkit/themes/gnomestripe/global/popup.css
toolkit/themes/pinstripe/global/menu.css
toolkit/themes/pinstripe/global/popup.css
toolkit/themes/winstripe/global/menu.css
toolkit/themes/winstripe/global/popup.css
--- a/toolkit/themes/gnomestripe/global/popup.css
+++ b/toolkit/themes/gnomestripe/global/popup.css
@@ -31,26 +31,21 @@
  * use your version of this file under the terms of the MPL, indicate your
  * decision by deleting the provisions above and replace them with the notice
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
-/* ===== popup.css ===================================================
-  == Styles used by the XUL popup element.
-  ======================================================================= */
-
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: menupopup ::::: */
 
 menupopup,
-popup,
 panel {
   -moz-appearance: menupopup;
   min-width: 1px;
   color: MenuText;
 }
 
 /* ::::: tooltip ::::: */
 
--- a/toolkit/themes/pinstripe/global/menu.css
+++ b/toolkit/themes/pinstripe/global/menu.css
@@ -156,26 +156,22 @@ menubar > menu[_moz-menuactive="true"][o
 .menubar-text {
   margin: 0 1px !important;
   color: inherit;
 }
 
 /* ::::: menu/menuitems in popups ::::: */
 
 menupopup > menu,
-popup > menu,
-menupopup > menuitem,
-popup > menuitem {
+menupopup > menuitem {
   max-width: 42em;
 }
 
 menupopup > menu[_moz-menuactive="true"],
-menupopup > menuitem[_moz-menuactive="true"],
-popup > menu[_moz-menuactive="true"],
-popup > menuitem[_moz-menuactive="true"] {
+menupopup > menuitem[_moz-menuactive="true"] {
   color: -moz-mac-menutextselect;
   background-color: Highlight;
 }
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
 .menulist-menupopup > menuitem,
 menulist > menupopup > menuitem,
--- a/toolkit/themes/pinstripe/global/popup.css
+++ b/toolkit/themes/pinstripe/global/popup.css
@@ -35,29 +35,26 @@
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 menupopup,
-popup,
 panel {
   -moz-appearance: menupopup;
   background-color: Menu;
 }
 
-menupopup > menu > menupopup,
-popup > menu > menupopup {
+menupopup > menu > menupopup {
   margin-top: -4px;
 }
 
 .popup-internal-box {
-  -moz-appearance: none;
   padding: 4px 0;
 }
 
 /* ::::: tooltip ::::: */
 
 tooltip {
   -moz-appearance: tooltip;
   margin-top: 18px;
--- a/toolkit/themes/winstripe/global/menu.css
+++ b/toolkit/themes/winstripe/global/menu.css
@@ -184,26 +184,22 @@ menubar > menu:-moz-window-inactive {
 .menubar-text {
   margin: 1px 6px 2px 6px !important;
   color: inherit;
 }
 
 /* ::::: menu/menuitems in popups ::::: */
 
 menupopup > menu,
-popup > menu,
-menupopup > menuitem,
-popup > menuitem {
+menupopup > menuitem {
   max-width: 42em;
 }
 
 menupopup > menu[_moz-menuactive="true"],
-menupopup > menuitem[_moz-menuactive="true"],
-popup > menu[_moz-menuactive="true"],
-popup > menuitem[_moz-menuactive="true"] {
+menupopup > menuitem[_moz-menuactive="true"] {
   background-color: -moz-menuhover;
   color: -moz-menuhovertext;
 }
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
 .menulist-menupopup > menuitem,
 menulist > menupopup > menuitem,
--- a/toolkit/themes/winstripe/global/popup.css
+++ b/toolkit/themes/winstripe/global/popup.css
@@ -31,46 +31,37 @@
  * use your version of this file under the terms of the MPL, indicate your
  * decision by deleting the provisions above and replace them with the notice
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
-/* ===== popup.css ===================================================
-  == Styles used by the XUL popup element.
-  ======================================================================= */
-
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: menupopup ::::: */
 
 menupopup,
-popup,
 panel {
   border: 3px solid transparent;
   -moz-border-top-colors   : ThreeDLightShadow ThreeDHighlight ThreeDFace;
   -moz-border-left-colors  : ThreeDLightShadow ThreeDHighlight ThreeDFace;
   -moz-border-right-colors : ThreeDDarkShadow  ThreeDShadow    ThreeDFace;
   -moz-border-bottom-colors: ThreeDDarkShadow  ThreeDShadow    ThreeDFace;
   padding: 0px;
   min-width: 1px;
   background: Menu;
 }
 
-menupopup,
-/* auto complete popups don't render well as vista menus */
-popup:not([type="autocomplete"])
-{
+menupopup {
   -moz-appearance: menupopup;
 }
 
-menupopup > menu > menupopup,
-popup > menu > menupopup {
+menupopup > menu > menupopup {
  /* align submenus */
   -moz-margin-start: -3px;
   margin-top: -3px;
 }
 
 /* ::::: tooltip ::::: */
 
 tooltip {