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

Side by Side Diff: third_party/WebKit/LayoutTests/csspaint/paint2d-image-expected.html

Issue 2351363002: Make CSSStyleImageValue a member of CanvasImageSource. (Closed)
Patch Set: Override isAccelerated Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <canvas id="canvas" width="300" height="300"></canvas>
3
4 <script>
5 var canvas = document.getElementById("canvas");
6 var ctx = canvas.getContext("2d");
7 var img = new Image;
8 img.src = "resources/html5.png";
9 img.onload = function() {
10 ctx.drawImage(img, 0, 0);
11 };
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698