Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / canvas-before-css.html
blob51b562b5b75908ff1eccfbbb8de47acb09c57e21
1 <html>
2 <head>
3 <link rel="stylesheet" href="about:blank" type="text/css">
4 </head>
5 <body>
6 <p>If the canvas below is black, then we managed to draw before loading stylesheets. Hooray!</p>
7 <canvas id="mycanvas" width="400" height="200"></canvas>
8 <script type="application/x-javascript">
9 var canvas = document.getElementById("mycanvas");
10 canvas.getContext("2d").fillRect(0, 0, canvas.width, canvas.height);
11 </script>
12 </body>
13 </html>