Bug 1419096 - Explicitly declare 0% value in @keyframes animation because start/end values are needed to calculate cumulative change hints. r?dao draft
authorJared Wein <jwein@mozilla.com>
Wed, 29 Nov 2017 11:03:30 -0500
changeset 705187 dcf757010ba4f7c9d940b572cb0de4920274d863
parent 703662 cad9c9573579698c223b4b6cb53ca723cd930ad2
child 742283 dd09640cccc4acbcde71b8584bb904de485a2ffc
push id91386
push userbmo:jaws@mozilla.com
push dateWed, 29 Nov 2017 16:04:23 +0000
reviewersdao
bugs1419096, 1419079
milestone59.0a1
Bug 1419096 - Explicitly declare 0% value in @keyframes animation because start/end values are needed to calculate cumulative change hints. r?dao See https://bugzilla.mozilla.org/show_bug.cgi?id=1419079#c22 for more information. MozReview-Commit-ID: IZjtRfuUbN8
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -181,20 +181,22 @@ tabbrowser {
   opacity: 0.7;
 }
 
 :root[sessionrestored] .tab-throbber[busy]:-moz-locale-dir(rtl)::before {
   animation-name: tab-throbber-animation-rtl;
 }
 
 @keyframes tab-throbber-animation {
+  0% { transform: translateX(0); }
   100% { transform: translateX(-100%); }
 }
 
 @keyframes tab-throbber-animation-rtl {
+  0% { transform: translateX(0); }
   100% { transform: translateX(100%); }
 }
 
 #TabsToolbar[brighttext] .tab-throbber[busy]:not([selected=true])::before {
   /* Don't change the --tab-loading-fill variable because this should only affect
      tabs that are not visually selected. */
   fill: #717171;
   opacity: 1;