Bug 1563111 - replace <textbox> in EdSpellCheck.xul. r=mkmelin
authorKhushil Mistry <khushil324@gmail.com>
Sat, 28 Sep 2019 05:02:00 +0200
changeset 37003 9442615bca8d249eb32065d8b6b2f547418fd9a5
parent 37002 29a9fba778faaa483c20104938d6230c52b5ecb4
child 37004 2e01933dd46d449e34334e1d132e3b354e0da9a9
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersmkmelin
bugs1563111
Bug 1563111 - replace <textbox> in EdSpellCheck.xul. r=mkmelin
mail/components/compose/content/dialogs/EdSpellCheck.xul
--- a/mail/components/compose/content/dialogs/EdSpellCheck.xul
+++ b/mail/components/compose/content/dialogs/EdSpellCheck.xul
@@ -1,24 +1,27 @@
 <?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 SYSTEM "chrome://messenger/locale/messengercompose/EditorSpellCheck.dtd">
 
 <!-- dialog containing a control requiring initial setup -->
 <dialog id="spellCheckDlg" buttons="cancel" title="&windowTitle.label;"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
     persist="screenX screenY"
     onload="Startup()">
 
+  <script src="chrome://global/content/globalOverlay.js"/>
+  <script src="chrome://global/content/editMenuOverlay.js"/>
   <script src="chrome://messenger/content/messengercompose/editorUtilities.js"/>
   <script src="chrome://messenger/content/messengercompose/EdDialogCommon.js"/>
   <script src="chrome://communicator/content/utilityOverlay.js"/>
   <script src="chrome://messenger/content/messengercompose/EdSpellCheck.js"/>
   <script src="chrome://global/content/contentAreaUtils.js"/>
 
   <stringbundle id="languageBundle" src="chrome://global/locale/languageNames.properties"/>
   <stringbundle id="regionBundle" src="chrome://global/locale/regionNames.properties"/>
@@ -35,17 +38,22 @@
         <label class="bold" id="MisspelledWord" crop="end"/>
         <button class="spell-check" label="&recheckButton2.label;" oncommand="Recheck();"
                 accesskey="&recheckButton2.accessKey;"/>
       </row>
       <row align="center">
         <label id="ReplaceWordLabel" value="&wordEditField.label;"
                control="ReplaceWordInput"
                accesskey="&wordEditField.accessKey;"/>
-        <textbox id="ReplaceWordInput" oninput="ChangeReplaceWord()" flex="1"/>
+        <hbox flex="1" class="input-container">
+          <html:input id="ReplaceWordInput" type="text"
+                      class="input-inline"
+                      onchange="ChangeReplaceWord()"
+                      aria-labelledby="ReplaceWordLabel"/>
+        </hbox>
         <button id="CheckWord" oncommand="CheckWord()" label="&checkwordButton.label;"
                 accesskey="&checkwordButton.accessKey;"/>
       </row>
     </rows>
   </grid>
   <label id="SuggestedListLabel" value="&suggestions.label;"
          control="SuggestedList"
          accesskey="&suggestions.accessKey;"/>