diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index 157abe895dc..1a5767346ae 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 a7cdb20d834..99b1db557e6 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