summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-paint-api/one-custom-property-animation-half-opaque-ref.html
blob: 34cbff442d2cd29cd08864e4d4e8c610b6ed93a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
<body>
<canvas id ="canvas" width="500" height="500"></canvas>
<script>
var canvas = document.getElementById('canvas');
var context = canvas.getContext("2d");
context.fillStyle = 'rgba(75, 125, 0, 0.8)';
context.fillRect(0, 0, 500, 500);
</script>
</body>
</html>