<!doctype html>
<title>Test reference</title>
<canvas id="canvas"></canvas>
<script>
  let canvas = document.getElementById("canvas");
  let ctx = canvas.getContext("2d");
  ctx.font = "10px sans-serif";
  ctx.fillText('Hello, world', 10, 10);
</script>
