Boris Zbarsky wrote: > How should <select size="n" size itself? At the moment what we do is: > > 1) Reflow the options at unconstrained width and height > 2) Walk the list of options examining their frame rects to determine the > biggest height of a single option. > 3) Multiply that by the "size" attribute. > > 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?
Reflow with the current height, if this is not the initial reflow, otherwise unconstrained height, then you only have to reflow again if the computed constrained height is not the current height? Rob _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

