nsLeafFrame

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

nsLeafFrame

Boris Zbarsky
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
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-layout