mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
bug 19961 - in standard mode, honor fixed cols and give remaining space to auto cols if there are any. a=buster, r=dcone
This commit is contained in:
parent
39818931bd
commit
ddd14a6264
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user