krithika wrote: > Q1 : Will reflow occur because dom window has changed?
Reflow is usually asynchronous. So it depends on when you open print preview. > Q2 : Is it possible to do a forced reflow from my java application > which embeds the gecko engine without doing a webnavigation.loadurI Yes. You can either explicitly call nsIDocument::FlushPendingNotifications with the right arguments, or get a property that calls it (document.body.offsetWidth is good for HTML). > When all will reflow occur other than these ? > 1. Window is resized > 2. dom modification via script. All sorts of cases that trigger reflow... I'm not sure I follow the question. -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

