Is it possible to render HTML elements in Canvas or WebGL? (similar to how one can draw a video element texture in WebGL)
You should also check out http://robert.ocallahan.org/2011/11/drawing-dom-content-to-canvas.html
It might throw a security error in Chrome but works fine in Firefox.