On Monday 2008-04-14 08:27 -0700, Jonathan wrote: > Is there a way to flush all the pending Display/Paint events? > > I notice there is a method here to flush 'notification' of the pending > events: > document->FlushPendingNotifications(Flush_Display); > > http://lxr.mozilla.org/mozilla1.8.0/source/content/base/public/mozFlushType.h#57 > > But is there a way to flush the display/paints events themselves (not > just notification of those events)?
This actually does flush the paint events, and many other things that need to be updated first. (The ability to do that may not remain after the Compositor work that will hopefully happen in the next major release). I suppose the name is a holdover from when the thing that was flush was content sink notifications of content added to the document. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/ _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

