Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: LayoutTests/fast/repaint/resources/frame-invalidated-by-raf.html

Issue 1246173002: Throttle rendering pipeline for invisible iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add layout tests. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!-- A document which constantly invalidates itself using requestAnimationFrame. -->
3 <script>
4 var frame = 0;
5 function animate()
6 {
7 document.body.style.background = (frame++ % 2) ? 'orange' : 'yellow';
8 window.requestAnimationFrame(animate);
9 }
10 window.addEventListener('load', animate);
11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698