[cssom-view][css3-animations] Sync events with requestAnimationFrame

There is an open bug on cssom-view to sync resize/scroll events and  
MediaQueryList with requestAnimationFrame.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26516

HTML has now changed its "update the rendering" step in the event loop to  
call hooks in CSSOM View that are not yet defined, but I plan to define.

See https://html5.org/r/8849
https://html.spec.whatwg.org/multipage/webappapis.html#processing-model-9

HTML also calls a hook for "run CSS animations and send events", so  
presumably the CSS Animations spec should define that.

-- 
Simon Pieters
Opera Software

Received on Wednesday, 19 November 2014 22:28:50 UTC