Bug 571567 - use <menupopup> instead of <popup>. r=enn
authorDão Gottwald <dao@mozilla.com>
Tue, 22 Jun 2010 08:34:21 +0200
changeset 25446 d9acf9de71ee3fb7b8732f79f25bad64f86a89e7
parent 25445 f5a09ae8a9aea60d8108e4b7d9816a6fd64e156e
child 25447 d779eeeabb4a9c2a4cc14cac41d33e377d28b675
push id1725
push userclokep@gmail.com
push dateMon, 19 Sep 2016 17:35:08 +0000
treeherdercomm-beta@6ead1abf3817 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenn
bugs571567
Bug 571567 - use <menupopup> instead of <popup>. r=enn
suite/common/helpviewer/helpContextOverlay.xul
--- a/suite/common/helpviewer/helpContextOverlay.xul
+++ b/suite/common/helpviewer/helpContextOverlay.xul
@@ -39,18 +39,18 @@
     <!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd">
     %helpDTD;
 ]>
 <overlay id="contentAreaContextOverlay"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 # Help Window's right-click menu
   <popupset id="contentAreaContextSet">
-    <popup id="contentAreaContextMenu"
-           onpopupshowing="goUpdateCommand('cmd_copy')">
+    <menupopup id="contentAreaContextMenu"
+               onpopupshowing="goUpdateCommand('cmd_copy')">
       <menuitem id="context-back"
                 label="&backButton.label;"
                 accesskey="&backButton.accesskey;"
                 observes="canGoBack"
                 oncommand="goBack()"/>
       <menuitem id="context-forward"
                 label="&forwardButton.label;"
                 accesskey="&forwardButton.accesskey;"
@@ -83,11 +83,11 @@
       <menuitem id="context-zlevel"
                 type="checkbox"
                 checked="true"
                 persist="checked"
                 label="&zLevel.label;"
                 accesskey="&zLevel.accesskey;"
                 oncommand="toggleZLevel(this);"/>
 #endif
-    </popup>
+    </menupopup>
   </popupset>
 </overlay>