merge_pr_56628
Handle zero range for scroll-driven animations on the compositor thread.
It is possible to get a zero range from APZ sampler (e.g. see the test
in this patch), so we have to early return it.
Differential Revision: https://phabricator.services.mozilla.com/D275732
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1919415
gecko-commit: 08f98baa10e636695ce3aca42c346a6f19638e29
gecko-reviewers: hiro, layout-reviewers