Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / canvas / canvas-slow-font-loading-expected.html
blobddc66b30098f0d4f77d6865c17ed761a7fd94553
1 <!DOCTYPE html>
2 <body>
3 <canvas id="c" width="100" height="50"><p>FAIL (fallback content)</p></canvas>
4 <script>
5 var canvas = document.getElementById('c');
6 var ctx = canvas.getContext('2d');
8 ctx.font = '67px Arial';
9 ctx.fillStyle = '#f00';
10 ctx.fillRect(0, 0, 100, 50);
11 ctx.fillStyle = '#0f0';
12 ctx.fillText('XX', 0, 50);
13 </script>