This post and the demos below are based on an experimental feature that is currently behind a flag, enable it at chrome://flags/#canvas-draw-element in any Chromium-based browser. If the flag is unavailable or the demos still don’t work, try Chrome Canary. Recently, social media has been buzzing about a new proposal from the WICG that aims to render traditional HTML inside a Canvas , and I have to say, I’m pretty excited about it. I’ve been waiting for something like this ever since I first came across a tweet about the idea back in 2024, so naturally I had to dive in and see what it’s all about. The Problem For years, the web has drawn a hard line between two worlds: the structured, accessible richness of HTML and the raw, pixel-level control of canvas . If you wanted accessible UI components and the flexibility of CSS, you stayed in the DOM. But if you needed full control over rendering (whether for games, 3D scenes, or custom shaders), you had to switch to canvas.…