On Tuesday 2006-05-02 18:19 -0500, 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?

Why do we need to reflow twice?  We still have unconstrained heights.
Do we support percentage height on options?  Why?

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Attachment: pgpAoE6DYkbAv.pgp
Description: PGP signature

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

Reply via email to