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

Side by Side Diff: LayoutTests/paint/invalidation/animated-gif.html

Issue 1008043002: [S.P.] Don't draw frames of animated images that are offscreen. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script>
4 window.testIsAsync = true;
5
6 // Tests that a repaint of the image occurs during the 200ms waiting period.
7 function repaintTest() {
8 setTimeout(finishRepaintTest, 200); // The initial red frame of the GIF has a 100ms duration
9 }
10 </script>
11 <body onload="runRepaintTest()">
12 <div style="height: 2000px; width: 2000px;">
13 <image src="../../fast/backgrounds/resources/red-green-animated.gif">
14 </div>
15 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698