Bug 1563105 - replace <textbox> in EdListProps.xul. r=mkmelin DONTBUILD
authorKhushil Mistry <khushil324@gmail.com>
Sat, 28 Sep 2019 01:16:00 +0200
changeset 37004 2e01933dd46d449e34334e1d132e3b354e0da9a9
parent 37003 9442615bca8d249eb32065d8b6b2f547418fd9a5
child 37005 1c185647609b7467f85d24b27fbf64ac9b157623
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersmkmelin
bugs1563105
Bug 1563105 - replace <textbox> in EdListProps.xul. r=mkmelin DONTBUILD
mail/components/compose/content/dialogs/EdListProps.xul
--- a/mail/components/compose/content/dialogs/EdListProps.xul
+++ b/mail/components/compose/content/dialogs/EdListProps.xul
@@ -1,27 +1,30 @@
 <?xml version="1.0"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
 <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
+<?xml-stylesheet href="chrome://messenger/skin/input-fields.css" type="text/css"?>
 
 <!DOCTYPE dialog [
 <!ENTITY % edListProperties SYSTEM "chrome://messenger/locale/messengercompose/EditorListProperties.dtd">
 %edListProperties;
 <!ENTITY % edDialogOverlay SYSTEM "chrome://messenger/locale/messengercompose/EdDialogOverlay.dtd">
 %edDialogOverlay;
 ]>
 
 <dialog title="&windowTitle.label;"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
     onload="Startup()">
 
+  <script src="chrome://global/content/globalOverlay.js"/>
+  <script src="chrome://global/content/editMenuOverlay.js"/>
   <!-- Methods common to all editor dialogs -->
   <script src="chrome://messenger/content/messengercompose/editorUtilities.js"/>
   <script src="chrome://messenger/content/messengercompose/EdDialogCommon.js"/>
   <script src="chrome://messenger/content/messengercompose/EdListProps.js"/>
 
   <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
 
   <groupbox flex="1">
@@ -45,20 +48,21 @@
   <groupbox flex="1">
     <hbox class="groupbox-title">
       <label id="BulletStyleLabel" class="header">&bulletStyle.label;</label>
     </hbox>
     <menulist class="MinWidth10em" id="BulletStyle" oncommand="SelectBulletStyle()">
       <menupopup/>
     </menulist>
     <spacer class="spacer"/>
-    <hbox>
+    <hbox align="center">
       <label id="StartingNumberLabel" control="StartingNumber"
              value="&startingNumber.label;" accesskey="&startingNumber.accessKey;"/>
-      <textbox class="narrow" id="StartingNumber"/>
+      <html:input id="StartingNumber" type="number" class="narrow input-inline"
+                  aria-labelledby="StartingNumberLabel"/>
       <spacer/>
     </hbox>
   </groupbox>
   <radiogroup id="RadioGroup" index="0" persist="index">
     <radio id="ChangeAll"      label="&changeEntireListRadio.label;" accesskey="&changeEntireListRadio.accessKey;"/>
     <radio id="ChangeSelected" label="&changeSelectedRadio.label;"   accesskey="&changeSelectedRadio.accessKey;"/>
   </radiogroup>
   <vbox id="AdvancedEdit">