logoalt Hacker News

The HTML-in-Canvas API origin trial

27 points • by andrewstuart • yesterday at 7:54 PM • 8 comments • view on HN

Comments

chrismorgan • today at 7:36 AM

(May 2026.)

Related bunch of comments from that time: https://news.ycombinator.com/item?id=48201222

prathje • today at 7:50 AM

I would use it to render HTML elements such as inputs or a website in videos. Even though HTML is powerful the control over every pixel is important for high quality videos.

dvh • today at 7:03 AM

Wouldn't it make more logical sense to add canvas to html elements? I.e. checkbox.getContext("2d").fillRect(...)

➕ show 2 replies
avaer • today at 6:40 AM

Back in the WebVR days the sentiment was we can never do this because security.

In my experience with standards bodies/Chrome, anything outside of the owning company's product goals is "no, because security", and then then they flip-flop on that when the browser feature becomes a dependency for something an internal team is working on (which happened many times with WebVR, now WebXR).

So I'm curious what is Google working on that has this as a dependency, now that they've 180'd on it?

➕ show 3 replies
chews • yesterday at 9:42 PM

Yo dog, we put a DOM in your Canvas in your DOM.

➕ show 1 reply