W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

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

From: Dean Edwards <dean@edwards.name>
Date: Wed, 20 Jul 2005 17:48:43 +0100
Message-ID: <42DE806B.6010001@edwards.name>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC