at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky

This commit is contained in:
bmlk%gmx.de 2004-09-19 18:15:37 +00:00
Родитель 336abe5e0f
Коммит bc7e872edd
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -7006,7 +7006,7 @@ nsTableFrame::PaintBCBorders(nsPresContext* aPresContext,
break;
case eAjaRowOwner:
side = NS_SIDE_BOTTOM;
row = iter.prevRow; // and fall through
row = (iter.IsBottomMostTable()) ? iter.row : iter.prevRow; // and fall through
case eRowOwner:
if (row) {
::GetStyleInfo(*row, side, style, color, iter.IsBottomMostTable());

Просмотреть файл

@ -7006,7 +7006,7 @@ nsTableFrame::PaintBCBorders(nsPresContext* aPresContext,
break;
case eAjaRowOwner:
side = NS_SIDE_BOTTOM;
row = iter.prevRow; // and fall through
row = (iter.IsBottomMostTable()) ? iter.row : iter.prevRow; // and fall through
case eRowOwner:
if (row) {
::GetStyleInfo(*row, side, style, color, iter.IsBottomMostTable());