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

Side by Side Diff: LayoutTests/fast/canvas/canvas-filter-shadow-expected.html

Issue 1194733002: Adding the 'filter' context attribute to 2D canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: applied corrections Created 5 years, 6 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 <canvas id="canvas" width="100" height="100"></canvas>
2 <script>
3 var canvas = document.getElementById('canvas');
4 var ctx = canvas.getContext('2d');
5 ctx.fillStyle = '#0f0';
6 ctx.shadowOffsetX = 10;
7 ctx.shadowColor = '#ccc';
8 ctx.fillRect(20, 25, 50, 40);
9 ctx.fillStyle = '#000';
10 ctx.fillRect(20, 65, 50, 10);
11 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-filter-shadow.html ('k') | LayoutTests/fast/canvas/canvas-filter-svg-bbox.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698