bug 19961 - in standard mode, honor fixed cols and give remaining space to auto cols if there are any. a=buster, r=dcone
git-svn-id: svn://10.0.0.236/trunk@80470 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -323,7 +323,7 @@ BasicTableLayoutStrategy::BalanceColumnWidths(nsIPresContext* aPresCont
|
||||
if ( (tableIsAutoWidth && (perAdjTableWidth - totalAllocated > 0)) ||
|
||||
(!tableIsAutoWidth && (totalAllocated < maxWidth)) ) {
|
||||
if (totalCounts[PCT] != numCols) {
|
||||
PRBool onlyAllocateAutoCols = (totalCounts[DES_CON] > 0) && !mIsNavQuirksMode;
|
||||
PRBool onlyAllocateAutoCols = (totalCounts[DES_CON] > 0);
|
||||
for (colX = 0; colX < numCols; colX++) {
|
||||
if (PCT == allocTypes[colX]) {
|
||||
allocTypes[colX] = -1;
|
||||
|
||||
Reference in New Issue
Block a user