Animation frame task
Anne van Kesteren <annevk-6shE6wEKUUpmR6Xm/[email protected]>
| Newsgroups | gmane.org.w3c.webperf,gmane.comp.web.dom.general,gmane.comp.web.css.general |
|---|---|
| Message-ID | <CADnb78iY+7bHBwWSwLYguywG1UU5fJECh1_4AvZrYN2FoawFSw@mail.gmail.com> |
The concept defined by "Timing control for script-based animations" https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/RequestAnimationFrame/Overview.html seems to be more widely applicable and needs to be made extensible. In particular user agents are interested in processing scroll events, media query evaluation, fullscreen state changes, orientation changes, and probably much more layout related matters in the same task. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=26440 for some context. This argues that this animation frame task needs some internal queuing. Either we need buckets so scroll events are always processed before any fullscreen state changes, or we need a simple FIFO queuing mechanism on a per-task basis. Who will take ownership of this? -- http://annevankesteren.nl/