[whatwg] [html5] onbeforeprint/onafterprint (was window.print() undefined)

Matthew Raymond wrote:
> 
> | if (documentchanged) {
> |   printClone = document.clone();
> |   prepareForPrinting(printClone);
> | }
> |
> | printClone.print();
> 

This seems less practical than print events. It is also very difficult 
to detect changes to the document. What do you mean by changes? Style 
changes? New/removed content?

I quite like the idea of a DOMModified event. Does this exist? Can we 
have it please?

-dean

Received on Wednesday, 20 July 2005 09:48:43 UTC