On Nov 11, 1:21 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > And i try to load it with a simple test page, 1 table with 2 cells:
> ...
> > But the output of the line are like these, 55 lines (55 calls to
> > DrawLine()):
>
> The same thing might be painted more than once during pageload, depending on
> what else is going on.  Some of the painting may also be for the browser user
> interface, not the page.
>
> If you want to know where the DrawLine calls are coming from, you'd probably
> want to breakpoint in the function and see what the stacks look like.
>
> -Boris

Thank you.

I am wonder if there is a 'draw()' virtual method in the top level of
HTML element, and each individual element will over-ride the draw()
method to do specific things.

When mozilla needs to paint/repaint, it just walks thru the down tree
and call each element's draw() method.

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

Reply via email to