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

Side by Side Diff: LayoutTests/fast/canvas/canvas-filter-drop-shadow-transformed.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.scale(-1, -1);
7 ctx.filter = 'drop-shadow(0px 10px black)';
8 ctx.fillRect(-75, -65, 50, 40);
9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698