diff --git a/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp b/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp index 5694adf0217..06f8baa2a28 100644 --- a/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp +++ b/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp @@ -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; diff --git a/mozilla/layout/tables/BasicTableLayoutStrategy.cpp b/mozilla/layout/tables/BasicTableLayoutStrategy.cpp index 5694adf0217..06f8baa2a28 100644 --- a/mozilla/layout/tables/BasicTableLayoutStrategy.cpp +++ b/mozilla/layout/tables/BasicTableLayoutStrategy.cpp @@ -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;