[Webkit-unassigned] [Bug 236780] [frame-rate] animations with frameRate set to a value higher than 60 change the timing of requestAnimationFrame callbacks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 06:47:58 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236780

--- Comment #1 from Antoine Quint <graouts at webkit.org> ---
So I think there are two options here:

1. we believe that requestAnimationFrame callbacks should fire when page rendering is updated and the current behavior is correct

2. we believe that requestAnimationFrame callbacks should only ever fire at a 60Hz interval

I think within a given page, option 1 is fine. If the page is opting into running animations at a higher frame rate than 60Hz, then it should be prepared to deal with requestAnimationFrame callbacks at 60Hz.

Things might get trickier in pages with multiple frames, with the parent frame updating rendering at 120fps.

I think from a spec point of view, authors should not be concerned with animations runnings at a fluctuating frame rate. In fact, we already change the frame rate with low power mode and both Firefox and Chrome can run requestAnimationFrame at 120fps.

>From a web compatibility point of view, things might be different.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220217/c8c8686a/attachment.htm>


More information about the webkit-unassigned mailing list