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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/csspaint/paint2d-shadows-expected.html

Issue 2868003002: CSSPaint: Move layout tests in csspaint/ to http/tests/csspaint/ (Closed)
Patch Set: rebase Created 3 years, 7 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 <body> 3 <body>
4 <canvas id ="output" width="200" height="100"></canvas> 4 <canvas id ="output" width="200" height="100"></canvas>
5 <script> 5 <script>
6 var canvas = document.getElementById('output'); 6 var canvas = document.getElementById('output');
7 var ctx = canvas.getContext('2d'); 7 var ctx = canvas.getContext('2d');
8 8
9 ctx.shadowColor = 'black'; 9 ctx.shadowColor = 'black';
10 ctx.shadowOffsetY = 10; 10 ctx.shadowOffsetY = 10;
11 ctx.shadowOffsetX = 10; 11 ctx.shadowOffsetX = 10;
12 ctx.fillStyle = 'green' 12 ctx.fillStyle = 'green'
13 ctx.fillRect(10, 10, 50, 50); 13 ctx.fillRect(10, 10, 50, 50);
14 14
15 ctx.shadowColor = 'blue'; 15 ctx.shadowColor = 'blue';
16 ctx.shadowBlur = 10; 16 ctx.shadowBlur = 10;
17 ctx.shadowOffsetX = 5; 17 ctx.shadowOffsetX = 5;
18 ctx.shadowOffsetY = 5; 18 ctx.shadowOffsetY = 5;
19 ctx.fillStyle = 'green'; 19 ctx.fillStyle = 'green';
20 ctx.fillRect(110, 10, 50, 50); 20 ctx.fillRect(110, 10, 50, 50);
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698