summaryrefslogtreecommitdiffstats
path: root/layout/reftests/canvas/large-canvas.html
blob: c55c7442ce661faa2d0950b967b1d8a5cdea518e (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<html>
<body style="margin:0px; overflow:hidden">
<canvas style="display:block" id="c" width="1024" height="1024"></canvas>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "lime";
ctx.fillRect(0, 0, 1024, 1024);
</script>
</body>
</html>