1
0
Fork 0
firefox/testing/web-platform/tests/css/css-paint-api/paint2d-roundRect-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

14 lines
313 B
HTML

<!DOCTYPE html>
<html>
<body>
<canvas id ="output" width="100" height="100" style="background: blue;"></canvas>
<script>
var canvas = document.getElementById('output');
var ctx = canvas.getContext('2d');
ctx.fillStyle = 'green';
ctx.roundRect(10, 10, 80, 80, [20, 40, 10]);
ctx.fill();
</script>
</body>
</html>