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

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

Issue 658603002: 2D canvas: fix shadow rendering with compositing modes that require temp layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comment fix Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <canvas id="c" width="200" height="200"></canvas>
3 <script>
4 var canvas = document.getElementById("c");
5 var ctx = canvas.getContext("2d");
6 ctx.beginPath()
7 ctx.rect(100,100,150,50);
8 ctx.clip();
9 ctx.shadowColor = 'teal';
10 ctx.shadowBlur = 10;
11 ctx.shadowOffsetX = -310;
12 ctx.fillStyle = 'teal';
13 ctx.fillRect(300,0,200,200);
14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-shadow-source-in.html ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698