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

Side by Side Diff: Source/web/tests/data/canvas-copy-image.html

Issue 270613004: Implement "Copy image" for canvas (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add test Created 6 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 <!DOCTYPE html>
2 <html>
3 <head>
yosin_UTC9 2014/06/30 09:17:08 nit: We don't need to have empty HEAD element.
zino 2014/06/30 10:30:32 Done.
4 </head>
5 <body>
6 <canvas width="200" height="200"></canvas>
yosin_UTC9 2014/06/30 09:17:08 nit: We don't need to indent HTML.
zino 2014/06/30 10:30:32 Done.
7 <script>
8 var canvas = document.querySelector("canvas");
9 var context = canvas.getContext("2d");
10 context.fillStyle = "red";
11 context.fillRect(0, 0, 200, 200);
12 </script>
13 </body>
14 </html>
OLDNEW
« Source/core/editing/Editor.cpp ('K') | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698