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

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

Issue 669123002: Fixed Shadow blur for transparent objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added missing virtual layout test to TestExpectations 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Check shadow rendering rect and image with source-in.</title> 4 <title>Check shadow rendering rect and image with source-in.</title>
5 <style type="text/css"> 5 <style type="text/css">
6 canvas { border: 1px solid #999; } 6 canvas { border: 1px solid #999; }
7 #source-canvas { display: none; } 7 #source-canvas { display: none; }
8 </style> 8 </style>
9 </head> 9 </head>
10 <body> 10 <body>
(...skipping 24 matching lines...) Expand all
35 ctx.fillStyle = 'black'; 35 ctx.fillStyle = 'black';
36 ctx.fillRect(50, 50, 200, 100); 36 ctx.fillRect(50, 50, 200, 100);
37 ctx.globalCompositeOperation = 'source-in'; 37 ctx.globalCompositeOperation = 'source-in';
38 ctx.shadowColor = 'blue'; 38 ctx.shadowColor = 'blue';
39 ctx.shadowBlur = 10; 39 ctx.shadowBlur = 10;
40 ctx.shadowOffsetX = -10; 40 ctx.shadowOffsetX = -10;
41 ctx.shadowOffsetY = -10; 41 ctx.shadowOffsetY = -10;
42 } 42 }
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698