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

Side by Side Diff: LayoutTests/fast/canvas/canvas-state-stack-simple-expected.html

Issue 501353002: Transfer canvas state to the next frame with noticable restrictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Release 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 window.onload = function() {
4 var context = document.getElementById('c').getContext('2d');
5 context.scale(2,2);
6 context.beginPath();
7 context.rect(0,0,75,75);
8 context.clip();
9 context.fillStyle = 'green';
10 context.fillRect(0,0,30,30);
11 context.fillRect(50,50,30,30);
12 }
13 </script>
14 <p>Two green squares of different sizes should appear below</p>
15 <canvas id="c" width="300" height="300"></canvas>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-state-stack-simple.html ('k') | Source/platform/graphics/RecordingImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698