[web-animations] Backport fixes made to WD to ED

--HG--
extra : rebase_source : 9d9a20c81ef7a21ef69bf90441ca69592e1dbcc1