On Jun 2, 12:20 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> Jonathan wrote:
> > My understanding is when Mozilla paints a page, it walks thru the
> > Frame hierarchy to paint each frame.
> > Can you please tell me if mozilla walks thru the frame hierarchy in a
> > depth first approach or breath first approach?
>
> Depth first, sort of.  This is specified by CSS 2.1, for what it's worth.  See
> the detailed z-ordering algorithm described there.
>
> -Boris

Thank you. Can you please point me to the code which does the walking?
I have looked at nsPresShell:Paint(), but I don't think it has the
nsFrame walking part.

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

Reply via email to