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

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

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Wed, 20 Jul 2005 12:53:08 -0400
Message-ID: <42DE8174.9060008@earthlink.net>
James Graham wrote:
> Just to muddy the waters a bit - it is quite likely that Gecko 1.9 will 
> allow pages to be 'exported' to a variety of formats (in a manner 
> analogous to http://gecko.dynalivery.com/ ). Clearly I have no idea what 
> the UI for this functionality will be but lets pretend that it's not 
> through the standard print dialog (this isn't strictly important). 
> Should any function that transforms html -> non-html fire hypothetical 
> onprint events?

   Or for that matter, should print events be fired in Opera when I
select text and press "V", which makes Opera read the selected text out
loud for me. Also, there the fact that if I'm printing a specific
selection of text, I may not need the document to be transformed at all.
In fact, the text I have selected may be contained entirely inside a
single text node, in which case print events can only serve to alter or
remove the text itself.
Received on Wednesday, 20 July 2005 09:53:08 UTC

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