Truly independent web browser
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
canvas { position: absolute; left: -1000px; top: 20px; }
</style>
<canvas id="canvas" width="200" height="120"></canvas>
<script>
test(() => {
const context = canvas.getContext("2d");
context.fillStyle = "blue";
context.fillRect(0, 0, canvas.width, canvas.height);
println(internals.dumpDisplayList());
});
</script>