Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / content-url-canvas.html
blobd8b59585f309369dedf5f6371f4149ecd837fbed
1 <!DOCTYPE html>
2 <style>
3 img { content: -webkit-canvas(img); width: 24px; height: 24px; }
4 </style>
5 <img>
6 <p> crbug.com/521152: Tests for crash introduced by r200510: should display a green square.</p>
7 <script>
8 var ctx = document.getCSSCanvasContext("2d", "img", 24, 24);
9 ctx.fillStyle = "rgb(0,255,1)";
10 ctx.fillRect (0, 0, 24, 24);
11 </script>