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

Side by Side Diff: LayoutTests/fast/canvas/canvas-unbalanced-save-expected.html

Issue 661763003: Ensure canvas state is preserved when 2d canvas falls out of display list mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixup Created 6 years, 2 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>
3 window.onload = function () {
4 var ctx = document.getElementById('c').getContext('2d');
5 ctx.fillStyle = 'green';
6 ctx.fillRect(0, 0, 100, 100);
7 ctx.fillStyle = 'blue';
8 ctx.fillRect(10, 10, 80, 80);
9 ctx.fillStyle = 'red';
10 ctx.fillRect(20, 20, 60, 60);
11 }
12 </script>
13 <p>The canvas below should contain green, blue and red nested squares, all cente red with respect to each other.</p>
14 <canvas id="c" width="100" height="100"></canvas>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-unbalanced-save.html ('k') | Source/platform/graphics/RecordingImageBufferSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698