Loading
Bug 1804726 - Refactor about:welcome transitions. r=emcminn
This patch accomplishes a couple different things in one go. about:welcome has a feature to allow switching screens by history navigation. But the screen transitions don't play in that case. There was also an issue (see bug 1804098) where rounding inconsistencies could cause 1px gaps to appear in the animated progress bar, because of the use of transform. By converting the progress bar into a single element and just modulating its width, we can stop using transform and also enable transitions for history navigation. Technically, this also allows us to advance by more than 1 screen without messing up the animations, though this is not currently used. Incidentally, it simplifies the CSS. Differential Revision: https://phabricator.services.mozilla.com/D164310