summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1024473-1-ref.html
blob: 4eb3e5eb32a81d7fc19ded7b39fd4c9b4be90994 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<html>
<title>Mask layer on canvas layer needs to update even if canvas wasn't dirtied</title>
</style>
<canvas id="canvas" height="100" width="200" style="border-radius: 40px;"></canvas>
<script>
var canvas = document.getElementById("canvas");
var cx = canvas.getContext("2d");
cx.fillStyle="lime";
cx.fillRect(0, 0, 200, 100);
</script>