On 9/11/13 12:21 PM, Patrick Walton wrote:
Well, the easiest, but imprecise, thing to do would be to send the message after the node is visited during the final assign-heights traversal. No more layout computation happens for each node at that point. (This final traversal roughly corresponds to `FinishAndStoreOverflow()` in Gecko AIUI, though I'm not intimately familiar with Gecko's reflow algorithm.)
This fails if the node is inside an overflow:auto block that does multipass layout to figure out which scrollbars to show: in that situation there will be multiple FinishAndStoreOverflow() calls in Gecko and presumably multiple assign-heights traversals in servo...
The question is what _other_ things can have similar effects. -Boris _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo