We just came up with an idea that we think would be a worthy addition to the HTML 5 spec. Being new to the contribution process I hope this is the appropriate venue to vet this idea.
We have been using a script called html2canvas that utilizes the CANVAS tag to render screen captures of HTML blocks via the toDataURL() method. It does this by recreating and drawing each element to a CANVAS tag, but it can be very slow on large pages.
It occurred to us today that it would really be useful to have every element in the DOM have the method toDataURL() (e.g. document.getElementById(‘myDiv’).toDataURL() ). This would be a powerful way of capturing image data of any element from the whole HTML level down to a lone DIV. This would allow use in things such as animations, graphical annotations, and various UI effects.