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

Side by Side Diff: LayoutTests/fast/canvas/canvas-drawImage-out-of-bounds-src-expected.html

Issue 19267027: Fixing src rectangle clipping with drawImage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: renamed clipRectsToImage to clipRectsToImageRect Created 7 years, 5 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 <html>
2 <body>
3 <canvas id="c1" width="300" height="300"></canvas>
4 <canvas id="c2" width="300" height="300"></canvas>
5 <script type="text/javascript">
6 var ctx1 = document.getElementById('c1').getContext('2d');
7 var ctx2 = document.getElementById('c2').getContext('2d');
8 ctx1.fillStyle = 'green';
9 ctx2.fillStyle = 'green';
10 ctx1.fillRect(50, 50, 200, 200);
11 ctx2.fillRect(50, 50, 200, 200);
12 </script>
13 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698