Technology news and discussion on TalkFuse.
HTML-in-Canvas ships and could make the web a lot more creative…and a lot stupider
Google has shipped the HTML-in-Canvas API in Chrome 157, allowing developers to place HTML controls and content inside a canvas that can be styled and rendered with JavaScript. It could make web apps more interactive and visually ambitious, while also giving advertisers new ways to make pages intrusive.
Canvas has traditionally supported custom graphics but not ordinary HTML controls, text formatting, interactivity or accessibility aids. The API is supported in Chrome and Chrome for Android, with no official support yet from other major browsers, and has been proposed for the WHATWG HTML standard. Early demos include controls wrapped around 3D objects, interactive charts and a book whose text responds to a dragon; the technology still has bugs and compatibility limits.
In short
- Chrome 157 ships HTML-in-Canvas.
- Developers can combine HTML controls with canvas graphics.
- New visual effects may also create more intrusive ads.
Steelman: both sides, in good faith
The strongest fair case each way — we don't pick a winner.
The case for
HTML-in-Canvas could let developers combine the flexibility of custom graphics with familiar, interactive HTML, enabling richer interfaces such as accessible controls within visualisations and more engaging educational or creative experiences. If the proposal gains broad browser support, it could give web creators new ways to make applications feel responsive and distinctive without abandoning the open web.
The case against
The same ability to embed styled, interactive content in a canvas could make it easier to build distracting or manipulative advertising that interrupts users and competes with the page’s main purpose. With support currently limited and the technology still developing, relying on it could also produce inconsistent experiences across browsers and raise practical concerns about accessibility and compatibility.