Bug 1372242 - The search suggestions hint is not smooth enough when animating. r=mak draft
authorPaolo Amadini <paolo.mozmail@amadzone.org>
Thu, 15 Jun 2017 13:48:01 +0100
changeset 594765 2555fb0b40a9c83205537a969fe905f7f083f70a
parent 594702 035c25bef7b5e4175006e63eff10c61c2eef73f1
child 633516 f01c9ae65c618b7debe173b71e90d8cceae22996
push id64131
push userpaolo.mozmail@amadzone.org
push dateThu, 15 Jun 2017 12:55:16 +0000
reviewersmak
bugs1372242
milestone56.0a1
Bug 1372242 - The search suggestions hint is not smooth enough when animating. r=mak MozReview-Commit-ID: H67YL6WZEd1
browser/themes/shared/urlbarSearchSuggestionsNotification.inc.css
--- a/browser/themes/shared/urlbarSearchSuggestionsNotification.inc.css
+++ b/browser/themes/shared/urlbarSearchSuggestionsNotification.inc.css
@@ -114,17 +114,17 @@
 }
 
 #PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-typing"] > .ac-title-text {
   text-overflow: clip;
 }
 
 #PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-typing"] {
   overflow: hidden;
-  max-width: 8ch;
+  max-width: 12ch;
   width: 0;
   animation-name: search-suggestions-hint-typing;
   animation-duration: 500ms;
   animation-delay: 750ms;
   animation-iteration-count: 1;
   animation-fill-mode: forwards;
 }
 
@@ -132,17 +132,17 @@
   /* Hide the typing animation block */
   #PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"] hbox[anonid="search-suggestions-hint-typing"] {
     display: none;
   }
 }
 
 @keyframes search-suggestions-hint-typing {
   from { width: 0; }
-  to   { width: 8ch; }
+  to   { width: 12ch; }
 }
 
 #PopupAutoCompleteRichResult > deck[anonid="search-suggestions-notification"][animate] hbox[anonid="search-suggestions-hint-box"] {
   opacity: 0;
   animation-duration: 250ms;
   animation-delay: 1500ms;
   animation-iteration-count: 1;
   animation-fill-mode: forwards;