зеркало из https://github.com/mozilla/gecko-dev.git
bug 60807 - revised patch to handle 2 regression test cases.
This commit is contained in:
Родитель
d056e2fd73
Коммит
500776a6b7
|
@ -674,7 +674,12 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(PRInt32 aWidthInd
|
|||
}
|
||||
else { // FIX or DES_CON with LIMIT_NONE
|
||||
if (FIX == aWidthIndex) {
|
||||
availWidth -= pctTotal;
|
||||
if (autoDesTotal > 0) {
|
||||
availWidth -= pctTotal + fixTotal;
|
||||
}
|
||||
else if (fixTotal > 0) {
|
||||
availWidth -= pctTotal;
|
||||
}
|
||||
}
|
||||
else if (DES_CON == aWidthIndex) {
|
||||
availWidth -= pctTotal + fixTotal;
|
||||
|
|
|
@ -674,7 +674,12 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(PRInt32 aWidthInd
|
|||
}
|
||||
else { // FIX or DES_CON with LIMIT_NONE
|
||||
if (FIX == aWidthIndex) {
|
||||
availWidth -= pctTotal;
|
||||
if (autoDesTotal > 0) {
|
||||
availWidth -= pctTotal + fixTotal;
|
||||
}
|
||||
else if (fixTotal > 0) {
|
||||
availWidth -= pctTotal;
|
||||
}
|
||||
}
|
||||
else if (DES_CON == aWidthIndex) {
|
||||
availWidth -= pctTotal + fixTotal;
|
||||
|
|
Загрузка…
Ссылка в новой задаче