From 942e18e4e76975534c4032da41ff561c35df779c Mon Sep 17 00:00:00 2001 From: "fantasai.cvs%inkedblade.net" Date: Tue, 16 Oct 2007 03:08:49 +0000 Subject: [PATCH] fantasai is clearly having process troubles git-svn-id: svn://10.0.0.236/trunk@237809 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/reftests/bugs/reftest.list | 1 - mozilla/layout/tables/nsCellMap.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mozilla/layout/reftests/bugs/reftest.list b/mozilla/layout/reftests/bugs/reftest.list index 157abe895dc..1a5767346ae 100644 --- a/mozilla/layout/reftests/bugs/reftest.list +++ b/mozilla/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/mozilla/layout/tables/nsCellMap.cpp b/mozilla/layout/tables/nsCellMap.cpp index a7cdb20d834..99b1db557e6 100644 --- a/mozilla/layout/tables/nsCellMap.cpp +++ b/mozilla/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