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

Dean Edwards dean at edwards.name
Wed Jul 20 09:48:43 PDT 2005


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




More information about the whatwg mailing list