WPT details: https://wpt.fyi/results/html/canvas/element/manual/draw-element-image?label=experimental&label=master&aligned
HTML-in-canvas enables customizing the rendering of html using canvas with new primitives to manage canvas layout, drawing capabilities, rendering events for DOM-to-canvas synchronization, and geometry update capabilities for canvas-to-DOM synchronization.
High-performance web applications rely on <canvas> for control over rendering that goes beyond standard HTML/CSS. However, by using <canvas>, they lose all the rich, built-in features of the web platform, including: * Advanced formatting, such as styled multi-line text. * Interactivity, such as copy&paste, forms, and text selection. * Accessibility. This forces a bad trade-off: developers must either re-implement these fundamental browser features in JS, or simply not provide them, resulting in a sub-par, inaccessible user experience.
Samples: https://github.com/WICG/html-in-canvas#demos
Explainers: https://github.com/WICG/html-in-canvas