blob: cbaf68013efcb0f50d8bed96d23e3e3a10a03893 [file] [log] [blame]
<!DOCTYPE HTML>
<canvas id="c"></canvas><br/>
This test case ensures we don't crash when using canvas.createPattern
<script>
window.onload = function ()
{
if (window.testRunner)
window.testRunner.dumpAsText();
var canvas = document.getElementById('c');
var ctx = canvas.getContext('2d');
var p = ctx.createPattern(canvas, 'no-repeat');
}
</script>