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

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

Issue 1194733002: Adding the 'filter' context attribute to 2D canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Failure -> ImageOnlyFailure 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.filter = 'drop-shadow(0 10px black)';
Stephen White 2015/06/25 18:30:26 Nit: 0 -> 0px
6 ctx.fillStyle = '#0f0';
7 ctx.fillRect(25, 25, 50, 40);
8 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698