<canvas id="canvas" width="300" height="300" moz-opaque></canvas>HTMLCanvasElement: mozOpaque property / notebook
HTMLCanvasElement: mozOpaque property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const canvas = document.getElementById("canvas");
console.log(canvas.mozOpaque); // true
// deactivate it
canvas.mozOpaque = false;