bug 131687 Take into acount MIN_adj width as it has been included in totals before r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124473 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1859,6 +1859,8 @@ void BasicTableLayoutStrategy::AllocateConstrained(PRInt32 aAvailWidth,
|
||||
// proportional and desired widths are handled together
|
||||
PRBool haveProWidth = PR_FALSE;
|
||||
if (DES_CON == aWidthType) {
|
||||
// Take into acount MIN_adj width as it has been included in totals before
|
||||
maxWidth = PR_MAX(maxWidth, colFrame->GetWidth(MIN_ADJ));
|
||||
nscoord proWidth = colFrame->GetWidth(MIN_PRO);
|
||||
if (proWidth >= 0) {
|
||||
haveProWidth = PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user