Workaround for bug 685457 URLbar popup not shrinking when there are no results r=IanN a=IanN for comm-aurora and comm-beta.
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Sat, 17 Sep 2011 03:24:53 +0800
changeset 8830 40ca0d8ca4fde04acd2c808d129263770a09cffe
parent 8829 fb18bfa4967cbd8ded01efb28356037a266b8b9a
child 8831 1dc0f48aede4705dcfda3ce73e1154bd961768a9
push idunknown
push userunknown
push dateunknown
reviewersIanN, IanN
bugs685457
Workaround for bug 685457 URLbar popup not shrinking when there are no results r=IanN a=IanN for comm-aurora and comm-beta.
suite/browser/navigator.css
--- a/suite/browser/navigator.css
+++ b/suite/browser/navigator.css
@@ -38,16 +38,20 @@ tabbrowser {
 .paste-and-go {
   -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#input-box-paste");
 }
 
 panel[for="urlbar"] {
   -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#autocomplete-result-popup") !important;
 }
 
+panel[nomatch="true"] > .autocomplete-tree {
+  visibility: collapse;
+}
+
 .autocomplete-search-box {
   -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#autocomplete-search-box");
 }
 
 .autocomplete-search-engine {
   -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#autocomplete-search-engine");
   -moz-box-align: center;
 }