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

Side by Side Diff: third_party/WebKit/LayoutTests/csspaint/paint2d-rects-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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <canvas id ="output" width="100" height="100" style="background: blue;"></canvas >
5 <script>
6 var canvas = document.getElementById('output');
7 var ctx = canvas.getContext('2d');
8
9 ctx.fillStyle = 'green';
10 ctx.fillRect(0, 0, 100, 100);
11
12 ctx.clearRect(40, 40, 20, 20);
13
14 ctx.strokeStyle = 'red';
15 ctx.lineWidth = 4;
16 ctx.strokeRect(20, 20, 60, 60);
17 </script>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698