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

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

Issue 1866623002: Hook up CSSPaintValue::image to CSS Paint API callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments + rebase. Created 4 years, 7 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 <body>
4 <canvas id ="output" width="100" height="100"></canvas>
5 <script>
6 var canvas = document.getElementById('output');
7 var ctx = canvas.getContext('2d');
8
9 var colors = ['red', 'green', 'blue'];
10 for (var i = 2; i >= 0; i--) {
11 ctx.fillStyle = colors[i];
12 ctx.fillRect(i * 20, i * 20, 40, 40);
13 }
14 </script>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698