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

Side by Side Diff: LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.html

Issue 187393007: Convert some pixel tests in fast/canvas into ref tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 <html>
2 <head>
3 <script>
4 function testOne(operation)
5 {
6 var context = document.getElementById(operation).getContext('2d');
7
8 context.fillStyle = "green";
9 context.fillRect(0, 0, 1000, 1000);
10 }
11 function test()
12 {
13 testOne("fill");
14 testOne("stroke");
15 testOne("clip");
16 }
17 </script>
18 </head>
19 <body onload="test()">
20 <p>All three of these small canvases should be green, not red.</p>
21 <canvas id="fill" width="20" height="20"></canvas>
22 <canvas id="stroke" width="20" height="20"></canvas>
23 <canvas id="clip" width="20" height="20"></canvas>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698