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

Side by Side Diff: LayoutTests/fast/canvas/canvas-shadow-source-in.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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.globalCompositeOperation = 'source-over';
7 ctx.fillStyle = 'black';
8 ctx.fillRect(50,50,200,100);
9 ctx.globalCompositeOperation = 'source-in';
10 ctx.shadowColor = 'blue';
11 ctx.shadowBlur = 10;
12 ctx.shadowOffsetX = -10;
13 ctx.shadowOffsetY = -10;
14 ctx.fillStyle = 'teal';
15 ctx.fillRect(100,100,100,100);
16 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698