Bug 1415850 - Clean up rule for hiding the urlbar's content while customizing. r?bgrins draft
authorDão Gottwald <dao@mozilla.com>
Thu, 09 Nov 2017 12:31:01 +0100
changeset 695532 7587016582201106152edbf2b1f1b2600755a72d
parent 695523 d16b52f5d1955192c42c7b5c5da4e05a7dffef27
child 739633 a4b02f4838e747f9d9f0f4bec19c189a9ec8f5b6
push id88459
push userdgottwald@mozilla.com
push dateThu, 09 Nov 2017 11:31:29 +0000
reviewersbgrins
bugs1415850
milestone58.0a1
Bug 1415850 - Clean up rule for hiding the urlbar's content while customizing. r?bgrins MozReview-Commit-ID: 7WRkA0HWxYx
browser/base/content/browser.css
browser/themes/shared/urlbar-searchbar.inc.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -776,20 +776,16 @@ html|input.urlbar-input[textoverflow]:no
 #identity-icon-country-label {
   direction: ltr;
 }
 
 #identity-box.verifiedIdentity > #identity-icon-labels > #identity-icon-label {
   margin-inline-end: 0.25em !important;
 }
 
-#main-window[customizing] :-moz-any(#urlbar, .searchbar-textbox) > .urlbar-textbox-container > .textbox-input-box {
-  visibility: hidden;
-}
-
 /* Flexible spacer sizing (matching url bar) */
 toolbarpaletteitem[place=toolbar][id^=wrapper-customizableui-special-spring],
 toolbarspring {
   -moz-box-flex: 1;
   min-width: 28px;
   max-width: 112px;
 }
 
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -64,16 +64,20 @@
   min-height: 32px;
 }
 
 :root[chromehidden~="toolbar"] #urlbar {
   /* Remove excess space between the address bar and the menu button in popups. */
   margin-inline-end: 0;
 }
 
+:root[customizing] .urlbar-input-box {
+  visibility: hidden;
+}
+
 #urlbar-container {
   -moz-box-align: center;
 }
 
 #urlbar-search-splitter {
   /* The splitter width should equal the location and search bars' combined
      neighboring margin and border width. */
   min-width: 12px;