Get the latest tech news
HTML-in-Canvas
Contribute to WICG/html-in-canvas development by creating an account on GitHub.
In an addition, a fireOnEveryPaint option is added to ResizeObserverOptions, allowing script to be notified whenever the drawn elements might have changed their DOM state and the canvas should be redrawn. The features are currently under active development and changes to the API may happen at any time, though we make every effort to avoid unnecessary churn. The canvas is not tainted regardless of the content drawn, so take extreme care to avoid leaking confidential personal information (PII) in any demos.
Or read this on Hacker News