L. David Baron wrote: > On Thursday 2004-05-06 21:30 -0400, Robert O'Callahan wrote: >>What about when min-width is a percentage value? > > I think it should be ignored just like other percentages. Why would > it be different?
OK.
>>What about overflow:scroll/auto? > > Hmmm. I guess intrinsic needs to consider the scrollbar width for > 'scroll', and perhaps 'auto' as well. min-intrinsic probably just > needs the same, although maybe something else.
Currently (and in the new scrolling code) in the overflow:auto case, we will figure out if we need a scrollbar due to constrained height, and if so, add it to the the intrinsic width. But I think we never add it to the MEW. That won't be possible in the new world, but I'm not sure what to do instead.
Consider an intrinsically-sized scrollframe with a max-height that doesn't overflow vertically, and then you insert some content so it does overflow vertically. We need to reflow to see what the new height is, so we can see that we need a vertical scrollbar, so we can compute the correct intrinsic width.
So, in the new world, will the scrollframe have to fire a new incremental reflow against itself when it wants to change its intrinsic size during reflow?
Rob -- Robert O'Callahan <[EMAIL PROTECTED]> http://ocallahan.org "If we claim to be without sin, we deceive ourselves and the truth is not in us. If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness." 1 Johnn 1:8-9 _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
