On Friday 2006-04-28 16:46 -0500, Boris Zbarsky wrote: > L. David Baron wrote: > >I don't follow this bit. Reflow calls UpdateReflowMetrics which calls > >SetDesiredSize. (Too many functions there, probably, but never mind > >that.) > > OK, so I traced more carefully... ;) > > We have reflowInner false, so we never do anything interesting with > innerMet. But then we call FinishReflowChild on mInnerTableFrame and > pass it innerMet as the metrics. This resizes mInnerTableFrame to 0x0. > > Then UpdateReflowMetrics looks at the rect, etc, but the height is 0 by > that point...
Ah, right, yeah, I never really finished converting nsTableOuterFrame. That's what the: // XXXldb Most of the input variables here are now uninitialized! comment means. I think we need to figure out how to fill in innerMet and captionMet. ascent/descent might be interesting. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
pgpaLjmNDUOWG.pgp
Description: PGP signature
_______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

