Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / shadow-huge-blur.html
blobff1764687de9fd8632d3d818617bc504fa856658
1 <!DOCTYPE HTML>
2 <body>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText()
7 document.body.appendChild(document.createElement("p")).appendChild(document.createTextNode("This test passes if it does not cause a crash"));
8 var canvas = document.body.appendChild(document.createElement("canvas"));
9 canvas.width = "400";
10 canvas.height = "400";
11 var ctx = canvas.getContext('2d');
12 ctx.shadowBlur = 10500000000;
13 ctx.shadowColor = "green";
14 ctx.fillRect(0, 0, 10, 10);
15 </script>
16 </body>