GitHub - WICG/html-in-canvas
github.com/WICG/html-in-canvasThis proposal introduces a new API for rendering HTML content within a <canvas> element. The API includes the layoutsubtree attribute, drawElementImage() method, and paint event, enabling better accessibility, internationalization, and performance for canvas-based content. The proposal also addresses the need for exporting HTML content as images or video.
The drawElementImage API allows for drawing element image snapshots onto a canvas, with considerations for privacy and security to prevent leaking sensitive information. The paint event is introduced to notify developers of paint changes, allowing for canvas rendering updates in sync with the DOM. Future considerations include supporting threaded effects with an auto-updating canvas mode.
Quarkdown | Markdown with superpowers
quarkdown.comAstronomers observed the supermassive black hole 1ES 1927 654, observing its corona disappearing and reassembling, a first in black hole astronomy.