spec v1.0
drawElementImage() Shipped
Render any DOM element into a canvas context with full CSS fidelity.
No screenshots, no hacks — native pixel access to live HTML.
-
✓
Pixel-perfect HTML rendering into 2D and WebGL contexts
-
✓
Full getImageData() access for post-processing effects
-
✓
Compositing with other canvas draw calls and shaders
// Render HTML into canvas
ctx.drawElementImage(el, 0, 0, w, h);