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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/text-rendering-frameless-canvas-expected.html

Issue 2336693002: Rendering text to a canvas in a frame-less document. (Closed)
Patch Set: Adding the failed tests to TestExpectations for Mac. Created 4 years, 3 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
5 <canvas id="srcCanvas" width="200" height="100" style="border:1px solid #d3d3d3; "></canvas>
6
7 <script>
8 var cnv = document.getElementById('srcCanvas');
9 var ctx = cnv.getContext('2d');
10 ctx.strokeStyle='rgba(140, 0.013953202404081821)';
11 ctx.strokeText('Hello World!' ,1, 30);
12 ctx.font = "30px Verdana";
13 ctx.strokeText('Goodbye!' ,1, 70);
14 </script>
15
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698