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

Side by Side Diff: LayoutTests/fast/canvas/canvas-state-persistence-no-dirty.html

Issue 588403003: Fix a rendering bug when frames have no dirty rect on display list mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rename Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-state-persistence-no-dirty-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <canvas></canvas>
3 <script>
4
5 if (window.testRunner)
6 testRunner.waitUntilDone();
7
8 var canvas = document.querySelector("canvas");
9 var context = canvas.getContext("2d");
10
11 // first frame
12
13 requestAnimationFrame(function() {
14
15 // second frame which doesn't have a dirty
16 context.scale(2, 1);
17
18 requestAnimationFrame(function() {
19
20 // third frame which has a dirty
21 context.scale(2, 1);
22 context.fillRect(0, 0, 10, 10);
23
24 if (window.testRunner)
25 testRunner.notifyDone();
26
27 });
28 });
29
30 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-state-persistence-no-dirty-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698