Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/canvas/reftest.list
<canvas id=c></canvas>
<script>
const canvas = document.getElementById("c");
const ctx = canvas.getContext("2d");
canvas.width = 600;
canvas.height = 300;
ctx.translate(-5, 0);
ctx.strokeStyle = "rgba(0, 0, 0, 1)";
ctx.beginPath();
ctx.moveTo(93, 137.5);
ctx.lineTo(741, 137.5);
ctx.stroke();
</script>