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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/animated-webp.html

Issue 2786883006: Add paint invalidation tests for animated WEBP images (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
(Empty)
1 <!doctype HTML>
2 <body>
3 <div style="height: 2000px; width: 2000px;">
4 <img id="targetImage">
5 </div>
6 <script src="resources/text-based-repaint.js"></script>
7 <script>
8 window.testIsAsync = true;
9
10 function repaintTest() {
11 if (window.internals)
12 internals.advanceImageAnimation(targetImage);
13 requestAnimationFrame(function() {
14 finishRepaintTest();
15 });
16 }
17
18 window.onload = function() {
19 targetImage.onload = runRepaintTest;
20 targetImage.src="../../fast/backgrounds/resources/red-green-animated.webp";
21 }
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698