1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/canvas/crashtests/794463-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!-- Any copyright is dedicated to the Public Domain. 1.5 + - http://creativecommons.org/publicdomain/zero/1.0/ --> 1.6 + 1.7 +<!doctype HTML> 1.8 +<html> 1.9 +<body> 1.10 +<canvas id="c" width="100" height="100"></canvas> 1.11 +<script> 1.12 +var c = document.getElementById("c"); 1.13 +var ctx = c.getContext("2d"); 1.14 +var p = ctx.createPattern(c, "no-repeat"); 1.15 +ctx.rect(0, 0, 100, 100); 1.16 +ctx.fillStyle = p; 1.17 +ctx.fill(); 1.18 +</script> 1.19 +</body> 1.20 +</html>