summaryrefslogtreecommitdiffstats
path: root/layout/reftests/canvas/1850284-1-ref.html
blob: 7fa47fa9f85ecd865f09456b0cec5eba8d7db918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<body>
<canvas id="c" width="50" height="50"></canvas>
<script>
const c = document.getElementById("c");
const ctx = c.getContext("2d");

ctx.beginPath();
ctx.moveTo(20, 20);
ctx.lineTo(30, 20);
ctx.stroke();

</script>
</body>
<html>