Auto merge of #18292 - emilio:animate-nan, r=nox
Auto merge of #18292 - emilio:animate-nan, r=nox

style: Prevent Animate to generate NaN float values.

This should fix the assertions in https://bugzilla.mozilla.org/show_bug.cgi?id=1394558.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18292)
<!-- Reviewable:end -->

mbrubeck/servo,larsbergstrom/servo,paulrouget/servo,sadmansk/servo,KiChjang/servo,emilio/servo,anthgur/servo,cbrewster/servo,upsuper/servo,peterjoel/servo,nnethercote/servo,mattnenterprise/servo,dati91/servo,splav/servo,nnethercote/servo,larsbergstrom/servo,KiChjang/servo,larsbergstrom/servo,KiChjang/servo,peterjoel/servo,anthgur/servo,paulrouget/servo,mattnenterprise/servo,mbrubeck/servo,SimonSapin/servo,anthgur/servo,DominoTree/servo,SimonSapin/servo,splav/servo,cbrewster/servo,emilio/servo,dsandeephegde/servo,notriddle/servo,saneyuki/servo,mbrubeck/servo,KiChjang/servo,notriddle/servo,mattnenterprise/servo,nnethercote/servo,emilio/servo,CJ8664/servo,eddyb/servo,CJ8664/servo,larsbergstrom/servo,pyfisch/servo,peterjoel/servo,dati91/servo,mattnenterprise/servo,notriddle/servo,avadacatavra/servo,fiji-flo/servo,pyfisch/servo,canaltinova/servo,pyfisch/servo,paulrouget/servo,pyfisch/servo,nnethercote/servo,avadacatavra/servo,KiChjang/servo,notriddle/servo,thiagopnts/servo,jimberlage/servo,fiji-flo/servo,peterjoel/servo,szeged/servo,SimonSapin/servo,splav/servo,upsuper/servo,rnestler/servo,paulrouget/servo,emilio/servo,ConnorGBrewster/servo,paulrouget/servo,anthgur/servo,thiagopnts/servo,jimberlage/servo,eddyb/servo,saneyuki/servo,thiagopnts/servo,canaltinova/servo,saneyuki/servo,DominoTree/servo,saneyuki/servo,ConnorGBrewster/servo,rnestler/servo,szeged/servo,CJ8664/servo,ConnorGBrewster/servo,sadmansk/servo,ConnorGBrewster/servo,avadacatavra/servo,jimberlage/servo,upsuper/servo,jimberlage/servo,emilio/servo,saneyuki/servo,dsandeephegde/servo,szeged/servo,splav/servo,szeged/servo,peterjoel/servo,splav/servo,nnethercote/servo,szeged/servo,canaltinova/servo,szeged/servo,avadacatavra/servo,splav/servo,rnestler/servo,pyfisch/servo,jimberlage/servo,jimberlage/servo,jimberlage/servo,saneyuki/servo,nnethercote/servo,eddyb/servo,larsbergstrom/servo,emilio/servo,SimonSapin/servo,DominoTree/servo,saneyuki/servo,ConnorGBrewster/servo,cbrewster/servo,emilio/servo,mattnenterprise/servo,thiagopnts/servo,rnestler/servo,cbrewster/servo,ConnorGBrewster/servo,dati91/servo,mattnenterprise/servo,paulrouget/servo,eddyb/servo,anthgur/servo,eddyb/servo,fiji-flo/servo,upsuper/servo,paulrouget/servo,canaltinova/servo,CJ8664/servo,larsbergstrom/servo,notriddle/servo,DominoTree/servo,KiChjang/servo,mbrubeck/servo,dati91/servo,CJ8664/servo,upsuper/servo,mbrubeck/servo,peterjoel/servo,canaltinova/servo,canaltinova/servo,notriddle/servo,emilio/servo,KiChjang/servo,canaltinova/servo,splav/servo,peterjoel/servo,sadmansk/servo,splav/servo,dati91/servo,rnestler/servo,DominoTree/servo,cbrewster/servo,notriddle/servo,thiagopnts/servo,mattnenterprise/servo,CJ8664/servo,KiChjang/servo,emilio/servo,jimberlage/servo,dati91/servo,DominoTree/servo,fiji-flo/servo,larsbergstrom/servo,SimonSapin/servo,szeged/servo,rnestler/servo,nnethercote/servo,fiji-flo/servo,sadmansk/servo,DominoTree/servo,pyfisch/servo,SimonSapin/servo,peterjoel/servo,peterjoel/servo,avadacatavra/servo,cbrewster/servo,eddyb/servo,thiagopnts/servo,splav/servo,pyfisch/servo,ConnorGBrewster/servo,sadmansk/servo,avadacatavra/servo,thiagopnts/servo,notriddle/servo,paulrouget/servo,notriddle/servo,canaltinova/servo,dsandeephegde/servo,paulrouget/servo,dsandeephegde/servo,szeged/servo,fiji-flo/servo,dati91/servo,CJ8664/servo,notriddle/servo,DominoTree/servo,pyfisch/servo,fiji-flo/servo,nnethercote/servo,mbrubeck/servo,pyfisch/servo,saneyuki/servo,eddyb/servo,DominoTree/servo,paulrouget/servo,mbrubeck/servo,fiji-flo/servo,anthgur/servo,anthgur/servo,cbrewster/servo,sadmansk/servo,dsandeephegde/servo,KiChjang/servo,splav/servo,thiagopnts/servo,SimonSapin/servo,dsandeephegde/servo,upsuper/servo,nnethercote/servo,larsbergstrom/servo,saneyuki/servo,upsuper/servo,avadacatavra/servo,avadacatavra/servo,DominoTree/servo,jimberlage/servo,szeged/servo,peterjoel/servo,larsbergstrom/servo,anthgur/servo,dsandeephegde/servo,mattnenterprise/servo,KiChjang/servo,SimonSapin/servo,rnestler/servo,dsandeephegde/servo,pyfisch/servo,emilio/servo,saneyuki/servo,szeged/servo,sadmansk/servo,ConnorGBrewster/servo,nnethercote/servo,CJ8664/servo,eddyb/servo,upsuper/servo,dati91/servo,sadmansk/servo,cbrewster/servo,mbrubeck/servo,rnestler/servo,larsbergstrom/servo