I believe that's right, but it's been awhile since I've looked at it.  iirc,
when printing starts, a second PresContext and PresShell are created for the
document and it is reflowed within that shell.  The PresContext has its
various parameters set to the correct values for printing (no animations,
etc).

On 10/25/06, Peter Kasting <[EMAIL PROTECTED]> wrote:

Aaron Leventhal wrote:
> Why do our interfaces allow for multiple presshells?
>
> Is it possible to have more than one? If not, shouldn't we clear this
up?

If I recall bryner's comments accurately, we can have two: the 0th
presshell, which is the "normal" one, and the 1st, which is the
"printing" presshell.

> Do we have docs on how this works including the ownership
> model?

I've seen a couple graphical representations of this, but I can't
remember where they are at the moment.  darin or bryner should know, I
think.

PK




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

Reply via email to