On Wednesday 2006-06-07 10:37 -0500, Boris Zbarsky wrote:
> I have three questions about the code at 
> http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/generic/nsGfxScrollFrame.cpp&rev=3.267&mark=470-484#462
>  
> :
> 
> 1)  Should that third "if" work with mComputedMinWidth?

Looks like it, but it would need to change the body as well, and also
s/PR_MIN/PR_MAX/.

> 2)  This seems to do the wrong thing if box-sizing is not content-box (since
>     mComputedMinWidth and mComputedMaxWidth refer to whatever the 
>     corresponding
>     CSS properties refer to.  This is unlike mComputedWidth, which always 
>     refers
>     to the content width).

Should 'box-sizing' affect 'min-width' and 'max-width'?  Does it
anywhere else?

> 3)  Is there a reason we're not adding in border too?

Because border goes outside the scrollbars and padding inside?

-David

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

Attachment: pgpXRzSPclcHl.pgp
Description: PGP signature

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

Reply via email to