Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / test / data / gpu / functional_canvas_demo.html
blobcf6ef03d4493fc6f0d27e4362ad7b13d0ddde5ec
1 <!DOCTYPE html>
2 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3 <title>Canvas Demo</title>
4 </head>
5 <body>
6 <canvas id="canv" class="output" width="600" height="400" style="width:600px;height:400px;border:2px solid #c3c3c3;">
7 <p><b>Browser doesn't support canvas</b></p>
8 </canvas>
9 <script>
10 var c = document.getElementById('canv');
11 var ctx = c.getContext('2d');
12 ctx.fillStyle = "#000000";
13 ctx.fillRect(10, 10, 250, 250);
14 </script>
15 </body>
16 </html>