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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html

Issue 1489003002: Drop Image::setContainerSize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to ps#1 way, with fixed is_expensive test Created 5 years 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 <title>drawImage() with SVG fragments</title>
3 <script>
4 onload = function() {
5 var context = document.getElementsByTagName('canvas')[0].getContext('2d' );
6 fillStyles = [ "green", "red", "blue" ];
7 fillStyles.forEach(function(fillStyle, i) {
8 context.fillStyle = fillStyle;
9 context.fillRect(i*60, i*60, 120, 120);
10 });
11 }
12 </script>
13 <canvas width="240" height="240"></canvas>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698