L. David Baron wrote:
> On Tuesday 2006-05-02 18:19 -0500, Boris Zbarsky wrote:
>> I suppose I could still effectively do that (reflow at unconstrained
>> height, then reflow with the computed constrained height).  Is there a
>> better way, though?
>
> Why do we need to reflow twice?  We still have unconstrained heights.
> Do we support percentage height on options?  Why?

We need to know the height of the largest option to decide on our height when size="n" is set. At the moment we get the rects of all the option frames and just grab the largest height. Is there another way I could do this?

Once I know the proper height, I need to reflow at that height or with that amount of avail height or whatever to make the vertical scrollbar size correctly.

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

Reply via email to