On Friday 2006-04-28 12:18 -0500, Boris Zbarsky wrote: > So about this business of ignoring the CSS specified width... > nsLayoutUtils::IntrinsicForContainer really doesn't like that. I'm ending > up with the fieldset spilling out of the table in the following testcase: > > <table border="1"> > <tr> <td> > <fieldset style="width: 5px;"> > <legend>Some long legend</legend> > Some actual text goes here. > </fieldset> > </td> </tr> > </table> > > How are we handling this for tables, which also override the CSS-specified > width?
For tables it's handled in nsTableOuterFrame::GetPrefWidth and GetMinWidth. Maybe we need something more general. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
pgpsyhPUBcicZ.pgp
Description: PGP signature
_______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

