Bug 1562652 - Convert security/manager/pki/resources/content/exceptionDialog.xul XUL textbox to HTML input. r=Gijs
authorTim Nguyen <ntim.bugs@gmail.com>
Mon, 01 Jul 2019 15:29:27 +0000
changeset 543647 c6177164dbc053a2c8819967bd6ff8f294dc5c4a
parent 543646 8cdaaacd3b2926bfcc0e2c73bc9c55f8850e9ff8
child 543648 96211a78568ef5b13403648ce1b1a4ee7f4ea8e9
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1562652
milestone69.0a1
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 1562652 - Convert security/manager/pki/resources/content/exceptionDialog.xul XUL textbox to HTML input. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D36489
security/manager/pki/resources/content/exceptionDialog.css
security/manager/pki/resources/content/exceptionDialog.xul
--- a/security/manager/pki/resources/content/exceptionDialog.css
+++ b/security/manager/pki/resources/content/exceptionDialog.css
@@ -27,8 +27,14 @@
 .longDescription {
   white-space: pre-wrap;
 }
 
 .description:empty,
 .longDescription:empty {
   display: none;
 }
+
+#locationTextBox {
+  -moz-box-flex: 1;
+  /* This matches the label/description's margin in global.css`*/
+  margin-inline: 6px 5px;
+}
--- a/security/manager/pki/resources/content/exceptionDialog.xul
+++ b/security/manager/pki/resources/content/exceptionDialog.xul
@@ -43,21 +43,20 @@
                    data-l10n-id="exception-mgr-supplemental-warning"/>
     </vbox>
   </hbox>
 
   <hbox align="center">
     <label control="locationTextBox"
            id="certLocationLabel"
            data-l10n-id="exception-mgr-cert-location-url"/>
-    <textbox id="locationTextBox"
-             flex="1"
-             oninput="handleTextChange();"
-             value="https://"
-             class="uri-element"/>
+    <html:input id="locationTextBox"
+                oninput="handleTextChange();"
+                value="https://"
+                class="uri-element"/>
     <button id="checkCertButton"
             disabled="true"
             dlgtype="extra2"
             data-l10n-id="exception-mgr-cert-location-download"/>
   </hbox>
 
   <hbox align="center">
     <description id="headerDescription"