Bug 1555219 - Stop using <resizer>. r=Paenglab
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 30 May 2019 21:01:35 +1200
changeset 35723 78f7fd722424f609709ff3bd2eba6f0fbcd47b27
parent 35722 6d4ef59e9ed0a36b16f5c04ff90ee14cad6c340e
child 35724 6b95c43c6c89432cfdcecc54e707e53f7b1bba03
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersPaenglab
bugs1555219
Bug 1555219 - Stop using <resizer>. r=Paenglab
calendar/base/content/dialogs/calendar-alarm-dialog.xul
calendar/base/content/dialogs/calendar-event-dialog.xul
calendar/base/themes/common/dialogs/calendar-alarm-dialog.css
calendar/lightning/content/messenger-overlay-sidebar.xul
chat/content/browserRequest.xul
editor/ui/composer/content/editor.xul
mail/base/content/ABSearchDialog.xul
mail/base/content/FilterListDialog.xul
mail/base/content/SearchDialog.xul
mail/base/content/messageWindow.xul
mail/base/content/messenger.css
mail/components/addrbook/content/addressbook.xul
mail/components/compose/content/messengercompose.xul
mail/components/preferences/cookies.xul
mail/themes/linux/mail/messenger.css
mail/themes/windows/mail/messenger.css
--- a/calendar/base/content/dialogs/calendar-alarm-dialog.xul
+++ b/calendar/base/content/dialogs/calendar-alarm-dialog.xul
@@ -42,12 +42,9 @@
             label="&calendar.alarm.snoozeallfor.label;">
       <menupopup is="calendar-snooze-popup" id="alarm-snooze-all-popup"
                  ignorekeys="true"/>
     </button>
     <button id="alarm-dismiss-all-button"
             label="&calendar.alarm.dismissall.label;"
             oncommand="onDismissAllAlarms();"/>
   </hbox>
-  <hbox pack="end" class="resizer-box">
-    <resizer dir="bottomright"/>
-  </hbox>
 </window>
--- a/calendar/base/content/dialogs/calendar-event-dialog.xul
+++ b/calendar/base/content/dialogs/calendar-event-dialog.xul
@@ -646,13 +646,10 @@
       <label value="&event.statusbarpanel.freebusy.label;"/>
       <label id="status-freebusy-free-label"
              value="&event.freebusy.legend.free;"
              hidden="true"/>
       <label id="status-freebusy-busy-label"
              value="&event.freebusy.legend.busy;"
              hidden="true"/>
     </hbox>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 </dialog>
--- a/calendar/base/themes/common/dialogs/calendar-alarm-dialog.css
+++ b/calendar/base/themes/common/dialogs/calendar-alarm-dialog.css
@@ -54,20 +54,16 @@ calendar-alarm-widget[selected="true"] .
 
 calendar-alarm-widget[selected="true"] .alarm-calendar-image {
     -moz-context-properties: fill;
     fill: currentColor;
     list-style-image: url(chrome://calendar-common/skin/icons/icon32.svg);
     margin-top: 2px;
 }
 
-.resizer-box {
-    min-height: 15px;
-}
-
 .snooze-popup-button {
     min-width: 0;
     -moz-appearance: toolbarbutton;
     -moz-context-properties: fill;
     fill: currentColor;
 }
 
 .snooze-popup-ok-button {
--- a/calendar/lightning/content/messenger-overlay-sidebar.xul
+++ b/calendar/lightning/content/messenger-overlay-sidebar.xul
@@ -363,13 +363,10 @@
           class="statusbarpanel"
           insertbefore="unreadMessageCount,totalMessageCount"
           oncommand="openInvitationsDialog()">
       <label id="calendar-invitations-label"
              class="text-link"
              onclick="openInvitationsDialog()"
              onkeypress="if (event.key == 'Enter') { openInvitationsDialog(); }"/>
     </hbox>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 </overlay>
--- a/chat/content/browserRequest.xul
+++ b/chat/content/browserRequest.xul
@@ -34,13 +34,10 @@
   <browser type="content" src="about:blank" id="requestFrame" flex="1"/>
   <hbox class="statusbar">
     <statusbarpanel id="security-display" crop="end" flex="1"/>
     <statusbarpanel id="security-status" crop="end" collapsed="true"/>
     <hbox id="statusbar-status" class="statusbarpanel statusbarpanel-progress" collapsed="true">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
     <statusbarpanel id="security-button" class="statusbarpanel-iconic"/>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 </window>
--- a/editor/ui/composer/content/editor.xul
+++ b/editor/ui/composer/content/editor.xul
@@ -366,16 +366,10 @@
 
     <!-- Some of this is from globalOverlay.xul -->
     <hbox class="statusbar chromeclass-status" id="status-bar">
       <statusbarpanel id="component-bar"/>
       <hbox id="structToolbar" class="statusbarpanel" flex="1" pack="end">
         <label id="structSpacer" value="" flex="1"/>
       </hbox>
       <statusbarpanel id="offline-status" class="statusbarpanel-iconic"/>
-      <hbox class="statusbarpanel statusbar-resizerpanel">
-        <resizer dir="bottomend"/>
-      </hbox>
     </hbox>
-
-
-
 </window>
--- a/mail/base/content/ABSearchDialog.xul
+++ b/mail/base/content/ABSearchDialog.xul
@@ -183,14 +183,11 @@
       </hbox>
     </vbox>
 
   <hbox id="status-bar" class="statusbar chromeclass-status">
     <statusbarpanel id="statusText" crop="right" flex="1"/>
     <hbox id="statusbar-progresspanel" class="statusbarpanel statusbarpanel-progress">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 
 </window>
--- a/mail/base/content/FilterListDialog.xul
+++ b/mail/base/content/FilterListDialog.xul
@@ -157,15 +157,12 @@
 
   <separator class="thin"/>
 
   <hbox id="status-bar" class="statusbar chromeclass-status">
     <statusbarpanel id="statusText" flex="1" crop="right"/>
     <hbox id="statusbar-progresspanel" class="statusbarpanel statusbarpanel-progress" collapsed="true">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 
 </window>
 
--- a/mail/base/content/SearchDialog.xul
+++ b/mail/base/content/SearchDialog.xul
@@ -205,14 +205,11 @@
     </hbox>
   </vbox>
 
   <hbox id="status-bar" class="statusbar chromeclass-status">
     <statusbarpanel id="statusText" crop="right" flex="1"/>
     <hbox id="statusbar-progresspanel" class="statusbarpanel statusbarpanel-progress" collapsed="true">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 
 </window>
--- a/mail/base/content/messageWindow.xul
+++ b/mail/base/content/messageWindow.xul
@@ -225,13 +225,10 @@
   <panel id="customizeToolbarSheetPopup" noautohide="true">
     <iframe id="customizeToolbarSheetIFrame"
             style="&dialog.dimensions;"
             hidden="true"/>
   </panel>
 
   <hbox id="status-bar" class="statusbar chromeclass-status">
 #include mainStatusbar.inc.xul
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 </window>
--- a/mail/base/content/messenger.css
+++ b/mail/base/content/messenger.css
@@ -244,32 +244,16 @@ toolbar[type="menubar"][autohide="true"]
     list-style-image: var(--webextension-menupanel-image-2x-dark, inherit);
   }
 
   .webextension-menuitem {
     list-style-image: var(--webextension-menuitem-image-2x, inherit) !important;
   }
 }
 
-/* Status bar */
-
-%ifdef XP_MACOSX
-.statusbar {
-  padding-right: 14px;
-}
-
-.statusbar-resizerpanel {
-  display: none;
-}
-%else
-window[sizemode="maximized"] .statusbar-resizerpanel {
-  visibility: collapse;
-}
-%endif
-
 /* Status panel */
 
 statuspanel {
   position: fixed;
   margin-top: -3em;
   left: 0;
   z-index: 20;
   max-width: 50%;
--- a/mail/components/addrbook/content/addressbook.xul
+++ b/mail/components/addrbook/content/addressbook.xul
@@ -928,13 +928,10 @@
   <panel id="customizeToolbarSheetPopup" noautohide="true">
     <iframe id="customizeToolbarSheetIFrame"
             style="&dialog.dimensions;"
             hidden="true"/>
   </panel>
 
   <statusbar id="status-bar" class="statusbar chromeclass-status">
     <statusbarpanel id="statusText" flex="1" value="&statusText.label;"/>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </statusbar>
 </window>
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -2182,13 +2182,10 @@
     <hbox id="spellCheckStatusPanel" class="statusbarpanel">
       <toolbarbutton id="languageStatusButton"
                      tooltiptext="&languageStatusButton.tooltip;"
                      oncommand="showPopupById('languageMenuList',
                                               'languageStatusButton',
                                               'before_start');">
       </toolbarbutton>
     </hbox>
-    <hbox class="statusbarpanel statusbar-resizerpanel">
-      <resizer dir="bottomend"/>
-    </hbox>
   </hbox>
 </window>
--- a/mail/components/preferences/cookies.xul
+++ b/mail/components/preferences/cookies.xul
@@ -98,11 +98,10 @@
               label="&button.removeallcookies.label;" accesskey="&button.removeallcookies.accesskey;"
               oncommand="gCookiesWindow.deleteAllCookies();"/>
       <spacer flex="1"/>
 #ifndef XP_MACOSX
       <button oncommand="window.close();" icon="close"
               label="&button.close.label;" accesskey="&button.close.accesskey;"/>
 #endif
     </hbox>
-    <resizer dir="bottomend"/>
   </hbox>
 </window>
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -763,23 +763,16 @@ menulist[is="menulist-editable"][editabl
   --tabs-border-color: hsla(0,0%,60%,.4);
 }
 
 statusbarpanel,
 .statusbarpanel {
   -moz-appearance: none;
 }
 
-.statusbar-resizerpanel {
-  -moz-box-align: end;
-  -moz-box-pack: end;
-  -moz-appearance: resizerpanel;
-  padding: 0;
-}
-
 /* Status panel */
 
 .statusbarpanel-iconic {
   padding: 0 1px;
 }
 
 .statuspanel-label {
   margin: 0;
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -809,24 +809,16 @@ statusbarpanel,
   border-inline-end: 1px solid ThreeDLightShadow;
 }
 
 statusbarpanel:-moz-lwtheme,
 .statsubarpanel:-moz-lwtheme {
   border-inline-end-color: var(--tabs-border-color);
 }
 
-.statusbar-resizerpanel {
-  -moz-box-align: end;
-  -moz-box-pack: end;
-  -moz-appearance: resizerpanel;
-  padding: 0;
-  border-inline-end-width: 0;
-}
-
 @media (-moz-os-version: windows-win7) and (-moz-windows-default-theme),
        (-moz-os-version: windows-win8) and (-moz-windows-default-theme) {
   #status-bar:not(:-moz-lwtheme) {
     -moz-appearance: none;
     border-style: none;
     border-top: 1px solid ThreeDShadow;
     background-color: var(--toolbar-bgcolor);
   }