On 03/15/2012 09:08 PM, [email protected] wrote:
  > Right now, execution of page JS is suspended for the course of the print
operation.  (Within the cloned document, that is.  Although there are
still comments within layout/printing that suggest that the
document-cloning project is incomplete.)  If we want to allow the UI to
process events *during* the painting of one page, your "paint this
canvas now" API is going to need some sort of interruptibility.  Off the
top of my head I don't know what that ought to look like.

If you say the JS is suspended, is it still able to call a callback on the 
canvas element that does the drawing while the print is taking place?


JS in the cloned document is suspended. JS in the cloned document never runs. The callback would run in the original document, and possibly
update the cloned document (if needed).



_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to