From c65caf349736c16d73b206fcbca5f94e1dc593c9 Mon Sep 17 00:00:00 2001 From: "fantasai.cvs@inkedblade.net" Date: Mon, 15 Oct 2007 20:08:48 -0700 Subject: [PATCH] fantasai is clearly having process troubles --- layout/reftests/bugs/reftest.list | 1 - layout/tables/nsCellMap.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index 157abe895dc4..1a5767346aeb 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -101,7 +101,6 @@ fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 28811-2a.html 28811-2-ref.html # bug 38 == 243266-1.html 243266-1-ref.html == 243302-1.html 243302-1-ref.html == 244135-1.html 244135-1-ref.html -== 244135-2.html 244135-2-ref.html == 244932-1.html 244932-1-ref.html == 249982-1.html 249982-1-ref.html == 253701-1.html 253701-1-ref.html diff --git a/layout/tables/nsCellMap.cpp b/layout/tables/nsCellMap.cpp index a7cdb20d8349..99b1db557e69 100644 --- a/layout/tables/nsCellMap.cpp +++ b/layout/tables/nsCellMap.cpp @@ -565,8 +565,8 @@ nsTableCellMap::InsertRows(nsTableRowGroupFrame& aParent, nsTableRowGroupFrame* rg = cellMap->GetRowGroup(); if (rg == &aParent) { cellMap->InsertRows(*this, aRows, rowIndex, aConsiderSpans, aDamageArea); - aDamageArea.y = PR_MIN(aFirstRowIndex, aDamageArea.y); - aDamageArea.height = PR_MAX(0, GetRowCount() - aDamageArea.y); + aDamageArea.y = aFirstRowIndex; + aDamageArea.height = PR_MAX(0, GetRowCount() - aFirstRowIndex); #ifdef DEBUG_TABLE_CELLMAP Dump("after InsertRows"); #endif