I went ahead and split up nsLeafFrame::GetDesiredSize into GetIntrinsicWidth() and GetIntrinsicHeight(). It turned out that subclasses either wanted to override Reflow() altogether (and ignore their computed width/height) or just wanted their height to be done the sane "If not specified in CSS, take intrinsic height and add border and padding" way.

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

Reply via email to