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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-bg-expected.html

Issue 1416793004: Remove support for -webkit-canvas and Document.getCSSCanvasContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 <html>
2 <head>
3 <script type="application/x-javascript">
4 function draw() {
5 var ctx = document.getElementById('c').getContext('2d');
6
7 ctx.fillStyle = "rgb(200,0,0)";
8 ctx.fillRect (10, 10, 55, 50);
9 ctx.fillRect (310, 10, 55, 50);
10 ctx.fillRect (10, 310, 55, 50);
11 ctx.fillRect (310, 310, 55, 50);
12
13 ctx.fillStyle = "rgb(0, 0, 200)";
14 ctx.fillRect (30, 30, 55, 50);
15 ctx.fillRect (330, 30, 55, 50);
16 ctx.fillRect (30, 330, 55, 50);
17 ctx.fillRect (330, 330, 55, 50);
18 }
19 </script>
20 </head>
21 <body onload="draw();">
22 <canvas id="c" width="600" height="600"></div>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698